-
Notifications
You must be signed in to change notification settings - Fork 81
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
feat: allow full width content in library authoring [FC-0062] #1258
Changes from all commits
99da9c7
9252b6e
b2a4cbf
d5e4f5f
cbc1661
d50c109
f08d932
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -246,7 +246,6 @@ export async function fetchSearchResults({ | |
highlightPreTag: HIGHLIGHT_PRE_TAG, | ||
highlightPostTag: HIGHLIGHT_POST_TAG, | ||
attributesToCrop: ['content'], | ||
cropLength: 20, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I changed to the default (10) to reduce the text in the description. The design asked to limit to 3 lines, but we can only control word count here. We can fine-tune this in the AC test review. |
||
sort, | ||
offset, | ||
limit, | ||
|
@@ -281,7 +280,6 @@ export async function fetchSearchResults({ | |
highlightPreTag: HIGHLIGHT_PRE_TAG, | ||
highlightPostTag: HIGHLIGHT_POST_TAG, | ||
attributesToCrop: ['description'], | ||
cropLength: 15, | ||
sort, | ||
offset, | ||
limit, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we actually want different pages/sections of this Authoring app to show a differently-sized header? This is probably a question for the CCs with oversight over the whole app, but I would think it's better to have these params here, and remove the
containerProps
from this Header class, so other pages don't mess with them.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea came from here: #1221 (comment)
And there is a previous discussion here: #1217 (comment)
Personally, I prefer consistency throughout the app. But we would definitely use the extra space in the library authoring, and maybe changing everything would be a too big step.