mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #3032] [MERGED] feat: picture component moved to hoppscotch-ui #4192
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#4192
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/3032
Author: @anwarulislam
Created: 5/3/2023
Status: ✅ Merged
Merged: 5/8/2023
Merged by: @AndrewBastin
Base:
release/2023.4.2← Head:feat/hopp-ui-picture-component📝 Commits (1)
a840cecfeat: picture component moved to hoppscotch-ui📊 Changes
8 files changed (+46 additions, -145 deletions)
View changed files
📝
packages/hoppscotch-common/src/components.d.ts(+2 -0)📝
packages/hoppscotch-common/src/components/app/Header.vue(+2 -2)➖
packages/hoppscotch-common/src/components/profile/Picture.vue(+0 -87)📝
packages/hoppscotch-common/src/components/teams/MemberStack.vue(+2 -2)📝
packages/hoppscotch-common/src/pages/profile.vue(+2 -2)📝
packages/hoppscotch-sh-admin/src/components/app/Header.vue(+2 -2)📝
packages/hoppscotch-ui/src/components/smart/Picture.vue(+35 -50)📝
packages/hoppscotch-ui/src/components/smart/index.ts(+1 -0)📄 Description
🤖 Generated by Copilot at f3b12d0
Summary
🚚🔄🎨
Replaced
ProfilePicturewithHoppSmartPicturein various components and pages to show user initials with random color when no photo URL is available. Moved and renamed the component fromhoppscotch-sh-admintohoppscotch-uito make it reusable and modular. Deleted the unusedPicture.vuefile fromhoppscotch-common.Walkthrough
ProfilePicturecomponent withHoppSmartPicturecomponent in various places to generate a random color based on the user's initials if no photo URL is provided (link, link, link, link, link, link, link, link)ProfilePicturecomponent toHoppSmartPicturecomponent and exported it fromhoppscotch-uipackage to make it reusable and modular across different apps and packages (link, link)Picture.vuefile fromhoppscotch-commonpackage as it was no longer needed (link)Closes: HFE-30
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.