Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More question details in sidebar #47705

Merged
merged 5 commits into from
Sep 12, 2024
Merged

Conversation

iethree
Copy link
Contributor

@iethree iethree commented Sep 5, 2024

Closes #47673

Description

Adds more detailed information to Question Info sidesheets:

Screen Shot 2024-09-10 at 2 21 38 PM

Checklist

  • Tests have been added/updated to cover changes in this PR

@iethree iethree self-assigned this Sep 5, 2024
@iethree iethree marked this pull request as draft September 5, 2024 22:49
@metabase-bot metabase-bot bot added the .Team/AdminWebapp Admin and Webapp team label Sep 5, 2024
@iethree iethree force-pushed the side-sheets/more-question-details branch from 89ffe8b to 75b5ec8 Compare September 6, 2024 20:09
@iethree iethree added the no-backport Do not backport this PR to any branch label Sep 6, 2024
@iethree iethree changed the title [WIP] More question details in sidebar More question details in sidebar Sep 6, 2024
@iethree iethree force-pushed the side-sheets/more-question-details branch from 9ee9f29 to 788ac6d Compare September 6, 2024 21:36
@iethree iethree marked this pull request as ready for review September 6, 2024 21:36
@iethree iethree force-pushed the side-sheets/question-settings-sidebar branch from de85597 to d4f0c0b Compare September 6, 2024 21:55
@iethree iethree force-pushed the side-sheets/more-question-details branch from 788ac6d to f06000c Compare September 6, 2024 21:56
Base automatically changed from side-sheets/question-settings-sidebar to side-sheets/question-info-sidebar September 6, 2024 21:57
@iethree iethree force-pushed the side-sheets/more-question-details branch from f06000c to 2e3471d Compare September 9, 2024 18:04
Copy link
Contributor

github-actions bot commented Sep 9, 2024

Codenotify: Notifying subscribers in CODENOTIFY files for diff e3c94e4...384b2a6.

Notify File(s)
@kdoh frontend/src/metabase/ui/components/icons/Icon/icons/globe.svg
frontend/src/metabase/ui/components/icons/Icon/icons/index.ts

Base automatically changed from side-sheets/question-info-sidebar to master September 9, 2024 18:24
An error occurred while trying to automatically change base from side-sheets/question-info-sidebar to master September 9, 2024 18:24
@iethree iethree force-pushed the side-sheets/more-question-details branch 2 times, most recently from a07e8a8 to 06212e1 Compare September 9, 2024 18:50
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to do some fancy new things with this component, and then realized I should not do that, but it ended up in typescript, which was a win.

function formatDateTimeWithFormats(
value: number | Moment,
export function formatDateTimeWithFormats(
value: number | string | Date | Moment,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is all a consequence of converting the DateTime component to typescript

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is mostly stolen from @rafpaf, but made reusable for both questions and dashboards

small styling updates

refine styling to match designs

update more e2e test

remove some changes

small styling updates

more question details

more question details

DateTime to typescript

test updates

type updates

export fix

fixes
@iethree iethree force-pushed the side-sheets/more-question-details branch from 06212e1 to c92b0de Compare September 10, 2024 20:22
@iethree iethree enabled auto-merge (squash) September 12, 2024 19:28
@iethree iethree merged commit 0d70e9b into master Sep 12, 2024
122 of 123 checks passed
@iethree iethree deleted the side-sheets/more-question-details branch September 12, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport Do not backport this PR to any branch .Team/AdminWebapp Admin and Webapp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add more detailed question info component
3 participants