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

#RI-4815 get a portion of the string (FE) #2686

Conversation

irinaAbramova-dev
Copy link
Contributor

No description provided.

@irinaAbramova-dev irinaAbramova-dev changed the title #RI-4815 get a portion of the string (FE) #RI-4815 get a portion of the string (FE) (Draft) Oct 17, 2023
@irinaAbramova-dev irinaAbramova-dev changed the title #RI-4815 get a portion of the string (FE) (Draft) #RI-4815 get a portion of the string (FE) Oct 17, 2023
@@ -142,77 +161,141 @@ const StringDetails = (props: Props) => {

const isLoading = loading || value === null

const handleLoadAll = async (key: RedisResponseBuffer, type: KeyTypes | ModulesKeyTypes) => {
const endString = length - 1
await onRefresh(key, type, { end: endString })
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we need to wait when refresh is finished to send telemetry? I think we don't

})
}

const handleDownloadString = async (e: React.MouseEvent<HTMLAnchorElement>) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

don't need to make this function as async

@irinaAbramova-dev irinaAbramova-dev merged commit 49c04bb into feature/RI-4815-portion-of-string Oct 18, 2023
2 checks passed
@irinaAbramova-dev irinaAbramova-dev deleted the fe/feature/RI-4815-portion-of-string branch October 18, 2023 10:30
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.

None yet

3 participants