mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #3178] [MERGED] feat: introducing a new smart table hoppscotch ui component #4268
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#4268
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/3178
Author: @joeljstephen
Created: 7/9/2023
Status: ✅ Merged
Merged: 11/6/2023
Merged by: @AndrewBastin
Base:
release/2023.12.0← Head:feat/smart-table📝 Commits (10+)
cdbc580feat: introducing smart table to hopp ui834efcefeat: introducing badges and subtitle support for tabledfabf7efeat: added the ability to add subtitles in multiple columns55c1913refactor: replaced table with hoppsmarttable in invited users page and code cleanupa087603style: modified styles in different components of sh admin0962718chore: updated typesb0e29b2feat: introduced table component in storybookc19a8berefactor: replaced text with i18n stringsfb234cbrefactor: introduced variants to table in storybookc0ee3d0chore: updated types📊 Changes
11 files changed (+440 additions, -400 deletions)
View changed files
📝
packages/hoppscotch-common/src/components.d.ts(+1 -1)📝
packages/hoppscotch-sh-admin/locales/en.json(+5 -1)📝
packages/hoppscotch-sh-admin/src/components.d.ts(+62 -35)➖
packages/hoppscotch-sh-admin/src/components/teams/Table.vue(+0 -102)➖
packages/hoppscotch-sh-admin/src/components/users/Table.vue(+0 -162)📝
packages/hoppscotch-sh-admin/src/pages/teams/index.vue(+83 -18)📝
packages/hoppscotch-sh-admin/src/pages/users/index.vue(+116 -18)📝
packages/hoppscotch-sh-admin/src/pages/users/invited.vue(+34 -63)➕
packages/hoppscotch-ui/src/components/smart/Table.vue(+69 -0)📝
packages/hoppscotch-ui/src/components/smart/index.ts(+1 -0)➕
packages/hoppscotch-ui/src/stories/Table.story.vue(+69 -0)📄 Description
Issue Number
Closes HFE-130
Description
This PR introduces a new Smart Table component in
hoppscotch-ui. This component can be used to create a table with any number of rows and columns. Parent components can control various aspects of the table including content, border, styles and can provide their own implementation for the action button at the end of each row of the table. It also provides the ability to insert badges and subtitles in any row and column of the table.This PR replaces all the tables used in the
hoppscotch-sh-adminrepo with theHoppSmartTablecomponentChecks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.