mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3260] [MERGED] Polish Environment Selector #4309
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#4309
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/3260
Author: @liyasthomas
Created: 8/17/2023
Status: ✅ Merged
Merged: 8/17/2023
Merged by: @AndrewBastin
Base:
release/2023.8.0← Head:polish/environment-selector📝 Commits (1)
c1ff4f3chore: minor ui improvements📊 Changes
4 files changed (+37 additions, -18 deletions)
View changed files
📝
packages/hoppscotch-common/assets/scss/styles.scss(+6 -1)📝
packages/hoppscotch-common/src/components/environments/Selector.vue(+19 -15)📝
packages/hoppscotch-sh-admin/assets/scss/styles.scss(+6 -1)📝
packages/hoppscotch-ui/src/assets/scss/styles.scss(+6 -1)📄 Description
🤖 Generated by Copilot at
c1ff4f3Summary
🎨📱🛠️
This pull request enhances the tippy popover component used in various parts of the hoppscotch app. It adds utility classes and selectors to the
styles.scssfiles of thehoppscotch-common,hoppscotch-sh-admin, andhoppscotch-uipackages to improve the popover's responsiveness and layout. It also improves the environment selector and the environment variable table in theSelector.vuecomponent of thehoppscotch-commonpackage.Walkthrough
max-w-[45vw]utility class, to prevent overflow on smaller devices or long content (link, link, link)blockutility class, to avoid wrapping or alignment issues (link, link, link)Selector.vue, to make it consistent with the rest of the UI and reduce clutter (link)Selector.vue, based on the workspace type or team selection, using a ternary expression and thebg-primaryLightutility class, to provide a visual cue to the user and match the design mockups (link)w-1/4 min-w-32andw-full min-w-32utility classes for the name and value span elements, instead of the fixedw-20andw-36classes (link, link, link, link)Selector.vue, by using themt-2utility class for the header element, and remove the unnecessary padding classes from the header element (link)Selector.vue, when there are no environment variables, by using the:disabledprop of theHoppButtonSecondarycomponent, to prevent user confusion and indicate the state of the list (link)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
descriptionfield in syncing context #4746