8000 feat(agenda): Agenda meeting materials in overflow menu by holloway · Pull Request #8698 · ietf-tools/datatracker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(agenda): Agenda meeting materials in overflow menu #8698

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

Merged
merged 7 commits into from
Mar 21, 2025

Conversation

holloway
Copy link
Contributor

The 'Meeting Materials' button wasn't visible in the overflow menu which mobile / large font sizes use. This adds it.

label: 'Show meeting materials',
icon: 'collection',
href: undefined,
click: () => showMaterials(item.id),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note the new prop click which causes it to be rendered as a button.

@holloway holloway requested a review from NGPixel March 18, 2025 11:05
@holloway holloway marked this pull request as ready for review March 18, 2025 11:05
Copy link
codecov bot commented Mar 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.80%. Comparing base (70bf2ae) to head (5285964).
Report is 43 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8698      +/-   ##
==========================================
- Coverage   88.88%   88.80%   -0.08%     
==========================================
  Files         312      314       +2     
  Lines       40891    41245     +354     
==========================================
+ Hits        36345    36629     +284     
- Misses       4546     4616      +70     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@NGPixel NGPixel changed the title feat: Agenda meeting materials in overflow menu feat(agenda): Agenda meeting materials in overflow menu Mar 18, 2025
@jennifer-richards
Copy link
Member

Are those test failures real or transient?

@holloway
Copy link
Contributor Author

@jennifer-richards sadly, real

@NGPixel
Copy link
Member
NGPixel commented Mar 20, 2025

I would avoid renaming everything from "links" to "menuItems" in the code, other than its use in the dropdown menu, as this is only a mobile thing (desktop is a list of buttons, not a menu). Also, it creates an unnecessary disconnect between the term used in the backend (links) and the frontend.

@@ -275,7 +275,7 @@ test.describe('past - desktop', () => {
const eventButtons = row.locator('.agenda-table-cell-links > .agenda-table-cell-links-buttons')
if (event.flags.agenda) {
// Show meeting materials button
await expect(eventButtons.locator('i.bi.bi-collection')).toBeVisible()
await expect(eventButtons.locator(`#btn-btn-${event.id}-meeting-materials`)).toBeVisible()
Copy link
Member

Choose a reason for hiding this comment

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

btn-btn-?

Copy link
Contributor Author
@holloway holloway Mar 20, 2025

Choose a reason for hiding this comment

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

Yep, just following the convention as link ids are btn-lnk-${item.id}-tar so I made button ids btn-btn-${event.id}-mat

@holloway holloway requested a review from NGPixel March 20, 2025 04:17
@rjsparks rjsparks merged commit 2d974ed into ietf-tools:main Mar 21, 2025
10 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0