bcgov / MFIN-Data-Catalogue

The Finance Data Catalogue enables users to discover data holdings at the BC Ministry of Finance and offers information and functionality that benefits consumers of data for business purposes. The product is built using Drupal and adheres to the Government of BC's Core Administrative and Descriptive etadata Standard.
Other
6 stars 0 forks source link

Review: list of issues - pre-alpha release #261

Closed CraigClark closed 10 months ago

CraigClark commented 10 months ago

OP timer

https://openplus.monday.com/boards/4092908516/pulses/5640742274


Pre-alpha release general review

[!NOTE] Check items off as they are completed

Reviewed on 1.0.x

General observations

Search

Role: anonymous

Role: DC user, Org: none

Misc search related

Admin

Metadata record node view

Role: DC user, Org: none

Metadata record build

It isn't clear if I should be able to delete an MR or not. see #219

Section 1: Details

Edit Section 1: Details

Section 2: Data description

Edit Section 2: Data description

Section 3: Data usage

Edit Section 3: Data usage

Section 4: Data value

Edit Section 4: Data value

Section 5: Data dictionary

Edit Section 5: Data dictionary: Import data columns
Edit Section 5: Data dictionary: Add columns in UI (Paragraph)
CraigClark commented 10 months ago

Checkbox for this is above; will be addressed in #19.

For the misaligned search icon on the home page and the dashboard, we need to change the HTML so there is a wrapper around the text input and the icon

image

Can we please replace the html?

Current HTML

<div class="bcbb-search-api-form block block-bcbb-search block-bcbb-search-api-block" data-drupal-selector="bcbb-search-api-form">
  <form action="/" method="post" id="bcbb-search-api-form" accept-charset="UTF-8" role="search">
    <input data-drupal-selector="edit-search-url" type="hidden" name="search_url" value="/data-set">
    <div class="js-form-item form-item js-form-type-textfield form-type-textfield js-form-item-search-keyword form-item-search-keyword">
      <label for="edit-search-keyword">Find metadata records</label>
      <input data-drupal-selector="edit-search-keyword" aria-describedby="edit-search-keyword--description" type="text" id="edit-search-keyword" name="search_keyword" value="" maxlength="255" placeholder="" class="form-text form-control">
      <div id="edit-search-keyword--description" class="description">
        <a href="/data-set">Advanced search</a>
      </div>
    </div>
    <input aria-label="Do search" class="icon-bi button js-form-submit form-submit btn btn-primary" data-drupal-selector="edit-submit" type="submit" id="edit-submit" name="op" value="">
    <input autocomplete="off" data-drupal-selector="form-d4nbfh-mmbogrc7-wt2r0xcrgz2qb8al6w0pib7lh0" type="hidden" name="form_build_id" value="form-d4NbFH-_mmbOgrC7_Wt2r0XcRGZ2qb8AL6w0PiB7lH0">
    <input data-drupal-selector="edit-bcbb-search-api-form" type="hidden" name="form_id" value="bcbb_search_api_form">
  </form>
</div>

With

New HTML

<div class="bcbb-search-api-form block block-bcbb-search block-bcbb-search-api-block" data-drupal-selector="bcbb-search-api-form">
  <form action="/" method="post" id="bcbb-search-api-form" accept-charset="UTF-8" role="search">
    <input data-drupal-selector="edit-search-url" type="hidden" name="search_url" value="/data-set">
    <div class="js-form-item form-item js-form-type-textfield form-type-textfield js-form-item-search-keyword form-item-search-keyword">
      <label for="edit-search-keyword">Find metadata records</label>
      <div class="d-flex position-relative">
        <input data-drupal-selector="edit-search-keyword" aria-describedby="edit-search-keyword--description" type="text" id="edit-search-keyword" name="search_keyword" value="" maxlength="255" placeholder="" class="form-text form-control">
        <input aria-label="Do search" class="icon-bi button js-form-submit form-submit btn btn-primary" data-drupal-selector="edit-submit" type="submit" id="edit-submit" name="op" value="">
        <input autocomplete="off" data-drupal-selector="form-d4nbfh-mmbogrc7-wt2r0xcrgz2qb8al6w0pib7lh0" type="hidden" name="form_build_id" value="form-d4NbFH-_mmbOgrC7_Wt2r0XcRGZ2qb8AL6w0PiB7lH0">
        <input data-drupal-selector="edit-bcbb-search-api-form" type="hidden" name="form_id" value="bcbb_search_api_form">
      </div>
      <div id="edit-search-keyword--description" class="description">
        <a href="/data-set">Advanced search</a>
      </div>
    </div>
  </form>
</div>
CraigClark commented 10 months ago

alignment of search icon on home and dashboard is fixed, still needs tests and merge see branch 261-remove-advanced-search-link

CraigClark commented 10 months ago

pager link color updated in bcbb_theme

CraigClark commented 10 months ago

Dashboard replaced with Home for the front page and title removed as requested by @NicoledeGreef

Changes are in this branch https://github.com/bcgov/MFIN-Data-Catalogue/tree/261-set-homepage

CraigClark commented 10 months ago

@lkmorlan I tried to change the search page path in page manager from data-set, to search but it didn't work. You will need to look after this one. It seems that there are a lot of references in code to data-set in the path that will need to be removed. We no longer need it for breadcrumbs for example.

CraigClark commented 10 months ago

[!NOTE] I installed snowball stemmer and received a notice that it's not recommended for SOLR. Stemmer seems to be working, we can create a stemming specific task if needed down the road

CraigClark commented 10 months ago

Search seems to be indexing. We can create an issue if it fails again

CraigClark commented 10 months ago

Bookmarks is now in the correct order in the DOM, waiting for review and merge see https://github.com/bcgov/MFIN-Data-Catalogue/tree/261-bookmarks-placement