Skip to content
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

Feature kintsoogi 484 delete tsv #587

Merged
merged 3 commits into from
Nov 21, 2023

Conversation

kintsoogi
Copy link
Contributor

@kintsoogi kintsoogi commented Nov 20, 2023

Describe what your pull request addresses

Test Instructions

  • Open Deploy Preview
  • Verify that delete buttons exist in the headers of TN & TQ
  • Verify that delete buttons exist for each row item for TWL
  • Click on the a delete button in either TN, TQ, or TWL and verify that a Delete TSV Dialog appears
    • Verify that this dialog shows the information of the TSV item that you selected to delete
  • Click the 'delete' button on the dialog
    • Verify that the item no longer exists within the resource
  • Open console and see "new Quote" console log when clicking on any TWL item
    • Verify that this console log is not being fired off twice for each click (Functionality of pure setItemIndex)
    • Open either the add or delete row Item dialog and verify that the same console log does not fire when clicking in the dialog

@kintsoogi kintsoogi self-assigned this Nov 20, 2023
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (19c7052) 50.15% compared to head (61de329) 51.71%.

❗ Current head 61de329 differs from pull request most recent head faa9932. Consider uploading reports for the commit faa9932 to get more accurate results

Files Patch % Lines
src/components/ResourceCard.js 30.00% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #587      +/-   ##
===========================================
+ Coverage    50.15%   51.71%   +1.56%     
===========================================
  Files           43       43              
  Lines         1330     1338       +8     
===========================================
+ Hits           667      692      +25     
+ Misses         663      646      -17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PhotoNomad0
Copy link
Contributor

@kintsoogi My first attempt adding a new tN resulted in not being able to edit the support references on any note. I deleted my edit branch and started over. Now I cannot reproduce the problem and the edit branch is gone - so no clues there.

@PhotoNomad0
Copy link
Contributor

@kintsoogi Also when I tried to delete the note I added it said it could not find the note.

@PhotoNomad0 PhotoNomad0 marked this pull request as ready for review November 21, 2023 15:32
Copy link
Contributor

@PhotoNomad0 PhotoNomad0 left a comment

Choose a reason for hiding this comment

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

LGTM

@PhotoNomad0 PhotoNomad0 merged commit f85dc07 into develop Nov 21, 2023
5 of 6 checks passed
@delete-merged-branch delete-merged-branch bot deleted the feature-kintsoogi-484-deleteTsv branch November 21, 2023 15:32
PhotoNomad0 added a commit that referenced this pull request Dec 6, 2023
* Replace hard coded card names in merge dialog to resource titles

* Replace BranchMergerContext with state in app context

* Update single-scripture-rcl version for #546 (#558)

* Update issue templates

* Add button to TSV Resource Cards to Add another TSV resource

* Moved add button in TWL to actions column in table

* Feature 559 / support front matter (#561)

* added front to demo

* update dependencies

* update dependencies

* update dependencies

* update dependencies

* add error message handling

* update dependencies

* update dependencies

* update dependencies

* update dependencies

* update dependencies

* update dependencies

* update dependencies

* update dependencies

* update dependencies

* update dependencies

* update dependencies

* update dependencies

---------

Co-authored-by: PhotoNomad0 <[email protected]>

* Save to DCS on TSV Add & Navigate to new TSV Row (#571)

* Changes to save new TSV row to DCS on add

* Changes to navigate to newly created tsv row

* Only generate Tsv data if resource is tsv

* Change const, clarify ternary, update scrip-tsv version

* feature 524 / added alignment reset and multi-select. (#576)

* added alignment reset and multi-select.

* update dependencies

* update dependencies

---------

Co-authored-by: PhotoNomad0 <[email protected]>

* Update version of scripture-tsv to 0.2.1 (#584)

* Fix for 500 errors (#583)

Updated versions of gitea-react-toolkit and single-scripture-rcl

Co-authored-by: PhotoNomad0 <[email protected]>

* Feature kintsoogi 484 delete tsv (#587)

* Add delete tsv functionality and pure setItemIndex

* Small fix for newQuote

* update dependencies

---------

Co-authored-by: PhotoNomad0 <[email protected]>

* upgrades translation-helps-rcl to 3.5.13

* Display add button in header for TWL when no items (#597)

- Display add button in header for TWL when no items
- Do not display delete button if no items in tsv resource card

* Updated version of scripture-resources-rcl

Fixes problem where empty last tsv item in book throws errors

* fixes build error while building with node >= 18

__This is a temporary fix__

Any machine building with node >= 18 runs into this issue:
unfoldingWord/translation-helps-rcl#121

I've modified the build scripts to use the set-env.sh scripts
to determine what the NODE_OPTIONS should be when building.

* Bump version to 2.2.0

* qaFail 602 / Save button is enabled when edit box is clicked (#608)

update single-scripture-rcl

* Bugfix 570 / Fix highlighting errors with right quote in Greek Word (#604)

fixes for highlighting right quotes in original languages

---------

Co-authored-by: kintsoogi <[email protected]>
Co-authored-by: Kintsoogi <[email protected]>
Co-authored-by: elsylambert <[email protected]>
Co-authored-by: PhotoNomad0 <[email protected]>
Co-authored-by: Noah Harvey <[email protected]>
Co-authored-by: Noah Harvey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants