-
Notifications
You must be signed in to change notification settings - Fork 212
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
Prefix ids with table #1963
base: master
Are you sure you want to change the base?
Prefix ids with table #1963
Conversation
Thanks for the PR. I didn't really review, but if you want the CI to pass, you will have to run tests locally and accept snapshot changes. i.e. with Also, you have to change the expected digest value in test-as_raw_html.R` for tests to pass. This is normal when we change the html code of a table. |
ci: remove Connect deployment
…ing and HTML compliance
… input and exclude NA values
… unprefixed and prefixed IDs, ensuring valid_html_id is only applied where necessary.
…olumn IDs individually, improving HTML compliance and clarity.
…ng, enhancing HTML compliance and clarity.
…g handling of group IDs and row boundaries for better HTML compliance.
…ring robust ID generation.
…n for two-column stubs, improving HTML compliance and clarity.
…curate cell-specific group IDs for improved HTML compliance and clarity.
8ddd2c2
to
28c59dd
Compare
thanks! I've updated some of the testing code & accepted snapshots, so they should pass, but I didn't have a chance to review all the snapshot changes |
- fixes issues with empty spanners being assigned ids that were often duplicated
@olivroy I've scanned through the snapshot results and addressed any issues I saw, so I think it's about set — at least no todos pending on my list for now. |
Summary
Initial implementation of prefixing element ids with the table id. This doesn't totally solve for potential duplicate IDs within a page, but should at least remove one of the most common sources (multiple tables with same column names).
This is a pretty big codebase. Happy to try to package this up more nicely but might need some pointers if there are interactions I'm missing.
Related GitHub Issues and PRs
Checklist
testthat
unit tests totests/testthat
for any new functionality.