Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Download of resources with tags in their ids should work #1505

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

Dinika
Copy link
Contributor

@Dinika Dinika commented Feb 21, 2024

When storing these resources and their distributions to the localstorage the tag should be stored as well. Otherwise the key (required to add/remove items from data panel) is inconsistent, leading to bugs (example, adding the resource works, but removing them from the data panel does not, because the id is not the same).

Fixes #

Description

How has this been tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added necessary unit and integration tests.
  • I have added screenshots (if applicable), in the comment section.

@bilalesi
Copy link
Contributor

LGTM, just need cleaning the logs.

When storing these resources and their distributions to the localstorage
the tag should be stored as well. Otherwise the `key` (required to
add/remove items from data panel) is inconsistent, leading to bugs
(example, adding the resource works, but removing them from the data
panel does not, because the id is not the same).

Signed-off-by: Dinika Saxena <dinikasaxenas@gmail.com>
@Dinika Dinika force-pushed the fix-swc-file-shown-twice branch from 8b7ac34 to 84a16a9 Compare February 21, 2024 17:09
@codecov-commenter
Copy link

Codecov Report

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

Comparison is base (f0bd16c) 48.13% compared to head (8b7ac34) 48.12%.

❗ Current head 8b7ac34 differs from pull request most recent head 84a16a9. Consider uploading reports for the commit 84a16a9 to get more accurate results

Files Patch % Lines
src/shared/hooks/useAccessDataForTable.tsx 42.85% 4 Missing ⚠️
src/shared/molecules/MyDataTable/MyDataTable.tsx 0.00% 4 Missing ⚠️
src/subapps/dataExplorer/DataExplorerTable.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1505      +/-   ##
===========================================
- Coverage    48.13%   48.12%   -0.02%     
===========================================
  Files          251      251              
  Lines        11553    11560       +7     
  Branches      2709     2709              
===========================================
+ Hits          5561     5563       +2     
- Misses        5958     5963       +5     
  Partials        34       34              

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

@Dinika Dinika merged commit fcef502 into develop Feb 21, 2024
1 check passed
@Dinika Dinika deleted the fix-swc-file-shown-twice branch February 21, 2024 18:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants