Skip to content

Conversation

@jnicholCU
Copy link
Contributor

@jnicholCU jnicholCU commented Jan 9, 2025

Big refactors to how columns are built to be more dynamic rather than prewritten divs per column. This decision was made to cleanup the code and to add in information for column eminence. Main and auxiliary columns need to be labeled as such for jump navs to render properly.

The column eminence mainly affects the two and three column layouts as they can have varying sizes based on user choice. Equal width columns (6-6 and 4-4-4) are treated all as "main"

When testing please test all the layout options for columns in the layout builder.
I don't think I missed any of the layout options in my refactor but double checks would be helpful.

Sister PR: CuBoulder/ucb_ckeditor_plugins#100

Resolves #63

Big refactors to how columns are built to be more dynamic rather than prewritten divs per column.
This decision was made to cleanup the code and to add in information for column eminence. Main and auxiliary columns need to be labeled as such for jump navs to render properly.

The column eminence mainly affects the two and three column layouts as they can have varying sizes based on user choice. Equal width columns (6-6 and 4-4-4) are treated all as "main"
@jnicholCU jnicholCU changed the title Column Refactors Column Refactor + Jumpmenu update Jan 9, 2025
@jnicholCU jnicholCU added the change Modification to code without a functional change label Jan 9, 2025
@patrickbrown-io patrickbrown-io self-requested a review January 13, 2025 17:20
Copy link
Contributor

@patrickbrown-io patrickbrown-io left a comment

Choose a reason for hiding this comment

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

Works well in selecting the headers and the main content for the jump menu!

Tested 1-4 column sections on the same page with various widths for each section and the jump menu correctly grabs the largest column per section, or all if they are uniform.

@patrickbrown-io patrickbrown-io merged commit 87597af into main Jan 13, 2025
2 checks passed
@patrickbrown-io patrickbrown-io deleted the issue/63 branch January 13, 2025 17:35
github-actions bot pushed a commit that referenced this pull request Jan 13, 2025
Column Refactor + Jumpmenu update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change Modification to code without a functional change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jump Links Plugin includes sidebar content

3 participants