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

fix: Add missing storage title field to Redis config #5552

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

juszzz
Copy link
Contributor

@juszzz juszzz commented Mar 7, 2024

This commit adds a required missing field to the Redis storage form -- the storage title. Without this field, the UI will throw an exception when trying to display the saved configuration's card. See Slack for details.

PR fulfills these requirements

  • Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
  • Tests for the changes have been added/updated (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
  • Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)

(check all that apply)

  • Product design
  • Backend (Database)
  • Backend (API)
  • Frontend

Describe the reason for change

See this Slack thread for a description of the problem.

What does this fix?

This fixes an issue with creating Redis storage configurations in the UI, namely that the storage title is missing from the form. Without it, the UI raises an exception when trying to display a null title on the configuration card.

What is the new behavior?

(if this is a breaking or feature change)

What is the current behavior?

(if this is a breaking or feature change)

What libraries were added/updated?

(list all with version changes)

Does this change affect performance?

(if so describe the impacts positive or negative)

Does this change affect security?

(if so describe the impacts positive or negative)

What alternative approaches were there?

(briefly list any if applicable)

What feature flags were used to cover this change?

(briefly list any if applicable)

Does this PR introduce a breaking change?

(check only one)

  • Yes, and covered entirely by feature flag(s)
  • Yes, and covered partially by feature flag(s)
  • No
  • Not sure (briefly explain the situation below)

What level of testing was included in the change?

(check all that apply)

  • e2e
  • integration
  • unit

Which logical domain(s) does this change affect?

(for bug fixes/features, be as precise as possible. ex. Authentication, Annotation History, Review Stream etc.)

This commit adds a required missing field to the Redis storage form -- the storage title. Without this field, the UI will throw an exception when trying to display the saved configuration's card. See [Slack](https://label-studio.slack.com/archives/CQ8LYQ0J2/p1709796798556099) for details.
Copy link

netlify bot commented Mar 7, 2024

👷 Deploy request for label-studio-docs-new-theme pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 33d1618

Copy link

netlify bot commented Mar 7, 2024

👷 Deploy request for heartex-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 33d1618

@github-actions github-actions bot added the fix label Mar 7, 2024
@makseq makseq enabled auto-merge (squash) March 26, 2024 19:05
@sajarin
Copy link
Contributor

sajarin commented Jun 5, 2024

/jira create

Workflow run
Jira issue TRIAG-600 is created

@sajarin sajarin added Community Community Feature Requests, Open Issues, Bugs Reported, or Comments community:reviewed Issue has been reviewed by the Label Studio Community Team. community:fix labels Jun 5, 2024
@makseq makseq merged commit 4f209d2 into HumanSignal:develop Jun 13, 2024
60 of 68 checks passed
jombooth added a commit that referenced this pull request Jun 14, 2024
[Re-created using `gh` command line tool for CI (mirror #5552]

This commit adds a required missing field to the Redis storage form --
the storage title. Without this field, the UI will throw an exception
when trying to display the saved configuration's card. See
[Slack](https://label-studio.slack.com/archives/CQ8LYQ0J2/p1709796798556099)
for details.

Also fix the port showing up as `undefined` on the frontend's storage
card. We'll need to make a similar change in LSE.

---------

Co-authored-by: Justin Ziniel <[email protected]>
Co-authored-by: jombooth <[email protected]>
Co-authored-by: robot-ci-heartex <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community:fix community:reviewed Issue has been reviewed by the Label Studio Community Team. Community Community Feature Requests, Open Issues, Bugs Reported, or Comments fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants