-
-
Notifications
You must be signed in to change notification settings - Fork 15
Improve application layout and rendering #78
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
Conversation
|
@line-o I think we need some tests in the templating repo that capture the different behavior we see between 6 and 7 here, especially regarding checks and forms. The markdown element being swallowed on 7 is a head scratcher. |
duncdrum
left a comment
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.
@line-o this is more then just refactoring and changes the apps behavior leading to failing tests. Can we mark this as draft until it passes CI again?
|
As we saw yesterday the changes while working fine in exist v6 leads to a NPE in exist v7 |
|
Only exist v7.0.0-SNAPSHOT is affected see eXist-db/exist#5707
|
@duncdrum I found a workaround |
- restructure library imports: external then internal - standards compliant output declaration - lookup without try-catch - disallow legacy class-syntax - filter data-template attributes
joewiz
left a comment
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.
LGTM
By switching the form method to get the url will now have all paramters necessary in order to share the search results. The search works as before including the Example: Entering "file:" in the search box and hitting the "Search" button - URL Before http://localhost:8080/exist/apps/fundocs/index.html? - URL After http://localhost:8080/exist/apps/fundocs/index.html?q=file%3A&action=search&type=name
Setting ouput:indent to "no" only works for constructed nodes at the moment. This still lowers the gzipped load by around 10% on results pages.
duncdrum
left a comment
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.
looking good I added a test assertion for the new URLs
collection of xqdoc elements now in $app:data
refactor for readability (invert conditions, extract complex tests into functions, ...)
fix formatting
fix styling re-using the SASS files from eXist-db/documentation
[BUG] NPE when running XQuery because "contextSequence" is null exist#5707 (workaround)
closes #71