mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3686] [CLOSED] refactor: added input validation to server configurations in admin dashboard #4490
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#4490
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/3686
Author: @joeljstephen
Created: 12/21/2023
Status: ❌ Closed
Base:
release/2023.12.3← Head:feat/dashboard-config-validation📝 Commits (9)
b5be78drefactor: replaced text with i18n stringb147d83refactor: client handler is now used to fetch data and return it instead of a listecd63fbfix: wrong i18n string in server restart component41437b4fix: corrected cherry pick conflictscf39b6frefactor: combined logic of client handler into one file and updated config empty logic7a817c7refactor: removed input validation from server restart componenta7fcadfrefactor: included input validation check in settings component87c1f42refactor: code improvements9238df6chore: add suggestions from review📊 Changes
5 files changed (+85 additions, -43 deletions)
View changed files
📝
packages/hoppscotch-sh-admin/locales/en.json(+1 -0)📝
packages/hoppscotch-sh-admin/src/components/settings/ServerRestart.vue(+5 -4)📝
packages/hoppscotch-sh-admin/src/composables/useClientHandler.ts(+15 -10)📝
packages/hoppscotch-sh-admin/src/composables/useConfigHandler.ts(+38 -19)📝
packages/hoppscotch-sh-admin/src/pages/settings.vue(+26 -10)📄 Description
Ticket
Closes HFE-363
Description
This PR introduces input validations to all server configuration input fields in the admin dashboard
Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.