mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #1488] [MERGED] [Feat: formData] Add chips to indicate chosen files in formData #3348
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#3348
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/1488
Author: @nelsontky
Created: 2/15/2021
Status: ✅ Merged
Merged: 2/17/2021
Merged by: @liyasthomas
Base:
feat/formData← Head:feat/formData📝 Commits (10+)
c2ba30fAdd file chip to denote file inputefe29f9Remove console.log41e88b6Merge conflictf3f3d34refactor(ui): matching stylesf09c216refactor(ui): matching styles81e5ed5fix(ui): mobile responsiveness67c5720fix(ui): mobile responsiveness27f8f90refactor: minor cleanupa02f07dRemove file from any form of persistence6be748aAdd warning that form data files will not be saved to local storage📊 Changes
5 files changed (+102 additions, -10 deletions)
View changed files
📝
components/http/http-body-parameters.vue(+46 -6)➕
components/ui/deletable-chip.vue(+32 -0)📝
pages/index.vue(+9 -3)📝
plugins/vuex-persist.js(+3 -1)📝
store/mutations.js(+12 -0)📄 Description
Per the image above, chips have been added to denote the files that have been chosen. This feature is still currently incomplete.
Todo:
Make sure Vuex persist works withFileobjectsFile objects cannot be recreated, and this thus means that we will not be able to restore a user's files in a request after a reload. FormData file fields also will not be able to be synced/exported. Thus, we should exclude file fields from vuex and store them instead in a component's state.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.