-
Notifications
You must be signed in to change notification settings - Fork 22
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
CKAN 2.10 + Cypress 12.10.0 #162
Conversation
@FuhuXia I need help. One of the datasets in the test is being created a private and we don't know why or how. Can you take a look at it and see if you find anything? Or can we pair at some point? |
modify the create_dataset function to return the real ID so that it knows where to go
See PR comment for breaking change comments
This prevents an error that the user/group already exists
- Lots and lots and lots and lots... of changes.. - Migrate from cypress 7.3.0 to 12.10.0 - Add command to run cypress locally (courtesy of @FuhuXia) - Update tests to not be dependent on dataset name (since CKAN 2.10 breaks dataset name consistency) - Reorg cypress layout due to pre-10.0 and post-10.0 folder structuring changes
Tests are passing.. TODO:
|
I don't like this, but it works?
Not sure what changed, why it changed, how it changed... for what reason, it changed.. BUUUT this fixes the order_by dropdown menu on any page that inherits the 'search_form.html' snippet
landing page (pagination, count_number size, source_type), harvester (source type list, harvest_job result list ), padding between line and title/search box
Looks good and ready to be released as version='0.2.0', |
manually publish to PYPI version 0.2.0. |
I don't think we need any of this because we got rid of the 'open with' plotly stuff
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.
a few questions...
@@ -18,6 +18,13 @@ | |||
background-color: transparent; | |||
border: 0; | |||
} | |||
.hide { |
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.
anyone know the reason for this alt CSS file?
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.
Apparently CKAN CSS messed with Data.gov theme CSS and USWDS CSS... this is where we use it @btylerburton
ckanext/datagovtheme/templates/header-site-usage.html:3:<a href="#content" class="hide">{{ _('Skip to content') }}</a>
ckanext/datagovtheme/templates/header-site-usage.html:18: <label class="hide" for="search-header">Search for:</label>
ckanext/datagovtheme/templates/package/search.html:15: <label for="search-big" class="hide">{{ _('Search datasets') }}</label>
ckanext/datagovtheme/templates/package/search.html:124: <label for="field-location" class="hide">{{ _('Filter by location') }}</label>
ckanext/datagovtheme/templates/header.html:63:<a href="#content" class="hide">{{ _('Skip to content') }}</a>
ckanext/datagovtheme/templates/header.html:104: <li class="usa-nav__primary-item desktop-hide">
@@ -8,15 +8,15 @@ | |||
{% snippet 'snippets/sort_by.html', sort=c.sort_by_selected %} | |||
|
|||
#} | |||
<span class="form-select {{ 'form-group' }} control-order-by"> | |||
<div class="form-group control-order-by"> |
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.
what's the template tags for? {{ 'form-group'}}
also, looks like we deleted form-select
??
The new template feature of 'super' inheritance recreates the dependency on geodatagov
…over reactions on the job list page
changed 'errors' label color and hover reactions
Related to
Changes:
IRoutes
is deprecated and it wasn't doing anything for us sinceCKAN 2.9.5
url
tourl_for
h.flash.pop_messages
is deprecated and replaced withh.get_flashed_messages
organization_read
to new way oforganization.read
... et cetera.h.new_activities
is deprecated, so remove code.12.10.0
(EACH DEVELOPER NEEDS TO UPDATE THEIR LOCAL SETUP)CKAN 2.10
dataset name inconsistencydatagovtheme.css
resource_preview_custom
function.h.resource_preview
was mysteriously deleted in CKAN 2.10icon-???
tofa-???
collection_resources
inheritance betweendatagovtheme
andgeodatagov
(not sure why it broke in CKAN 2.10)templates/snippets/search_form.html
ckanext-spatial
for extension testing