mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #2210] [MERGED] feat: remember last selected team id #3673
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#3673
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/2210
Author: @anwarulislam
Created: 3/28/2022
Status: ✅ Merged
Merged: 4/2/2022
Merged by: @AndrewBastin
Base:
main← Head:feat/remember-team📝 Commits (10+)
23c677bfeat: reorder key-value entries (#2189)770c3f1refactor: revamped tab system1f2fb0frefactor: enable new tab component35571fffix: tab switching side effect4764141fix: tab deleting side effect0f8549cfix: tests187f5c2Merge branch 'hoppscotch:main' into main300c02aMerge branch 'hoppscotch:main' into maindb0a25aadded new setting as REMEMEBERED_TEAM_IDedebfd6if REMEMBERED_TEAM_ID then switching tab to collection📊 Changes
4 files changed (+98 additions, -4 deletions)
View changed files
📝
packages/hoppscotch-app/components/collections/ChooseType.vue(+15 -1)📝
packages/hoppscotch-app/helpers/utils/composables.ts(+2 -3)📝
packages/hoppscotch-app/newstore/localpersistence.ts(+14 -0)➕
packages/hoppscotch-app/newstore/localstate.ts(+67 -0)📄 Description
Closes #2146
Description
Remember the selected team and its state between launches
Checks
Additional Information
Previously users had to manually select the team they are working on after every launch. It's a bit irritating. But, in this PR we've fixed the issue. Now whenever users select a team we're storing that. And after launch first, we're checking if a user has any last selected team or not. If we found the team we're showing its collections so that the user doesn't have to select the team manually.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.