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

filter chip content cannot be copied #2950

Closed
jkppr opened this issue Oct 19, 2023 · 6 comments · Fixed by #2990
Closed

filter chip content cannot be copied #2950

jkppr opened this issue Oct 19, 2023 · 6 comments · Fixed by #2990
Assignees
Labels

Comments

@jkppr
Copy link
Collaborator

jkppr commented Oct 19, 2023

When filtering results using chips, the content of a chip cannot be copied. This might be use-full for documenting investigation steps. However, especially when excluding something per filter, the only place to copy the value from is the "NOT filter chip" but this is not possible.

See demo below:
chipbug

Sidenote: The filterchip can also be clicked, without any action happening. This should also be fixed.

@jkppr jkppr added the Frontend label Oct 19, 2023
@JohannesLks
Copy link
Contributor

Hello! I would like to approach this issue. Could you assign it to me?

@jkppr
Copy link
Collaborator Author

jkppr commented Oct 30, 2023

Hi @JohannesLks thanks for your motivation to contribute to Timesketch. Please feel free to send me any PR for this bug early on in the process for feedback & review.

@jkppr
Copy link
Collaborator Author

jkppr commented Nov 20, 2023

How is it going @JohannesLks ? Do you think you can make this feature work until our next planned release 2023-12-06?

@JohannesLks
Copy link
Contributor

Yes i think so. So far, i added a copy button in the time filter chips and its Woking! :) I just need to implement the copy function to other chips. I am a bit unsure about the testing process, are threre any test scripts to run before i open a PR? Because im just working at the frontend.

@JohannesLks
Copy link
Contributor

@jkppr how can i add in the UI a filterchip if its not a timefilter?

@jkppr
Copy link
Collaborator Author

jkppr commented Nov 21, 2023

I would say the minimum requirement is: The text can be marked and copied from a filter chip (like default text copy & paste). There is no special need for a copy icon in the first iteration. But if you already have it implemented, feel free to submit it with the review and we'll test if it benefits the UX.

@jkppr how can i add in the UI a filterchip if its not a timefilter?

Option A: Click a Tag from the list in the left panel (should add a tag filter chip).
Option B: Open any event and in the event details click the filter icon that appears when hovering over an event attribute.

For the PR:

  • There are no special tests you need to run. When the PR is submitted, GitHub will run some workers & tests and inform you about any linter / test errors. You can take care of those with another commit then. (Or you check the GitHub worker config and run the tests locally before submitting, works as well)
  • Please ensure to only commit the files you have changed code in. No yarn.lock, no frontend build files like index.html or login.html. We will build a new UI with the next release then.

@jkppr jkppr linked a pull request Nov 23, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants