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

feat: add support for export/import actions in json format #1491

Merged
merged 17 commits into from
Aug 20, 2024

Conversation

sudharsan-selvaraj
Copy link
Contributor

Fixes: #843

@github-actions github-actions bot added dependencies Dependency updates, removals or additions enhancement New feature or request labels Jun 6, 2024
@eglitise eglitise self-requested a review June 7, 2024 08:35
@eglitise eglitise removed the dependencies Dependency updates, removals or additions label Jun 8, 2024
Copy link
Collaborator

@eglitise eglitise left a comment

Choose a reason for hiding this comment

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

Thank you!🙏 I will test this later, but looks great!
If it's not too much, could you please also update the documentation? Specifically, I'm referring to the top image and Saved Gestures section here: https://appium.github.io/appium-inspector/latest/session-inspector/gestures/

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jun 9, 2024
@github-actions github-actions bot added the i18n Translation changes label Jun 14, 2024
Copy link
Collaborator

@eglitise eglitise left a comment

Choose a reason for hiding this comment

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

Tested this in the Electron app and it does largely work :) I did find a few issues though.

@sudharsan-selvaraj
Copy link
Contributor Author

@eglitise Thank you for the feedback. I was occupied with other tasks and was unable to address the comments earlier. I will prioritize these items and aim to complete them within this week.

@github-actions github-actions bot added the dependencies Dependency updates, removals or additions label Aug 19, 2024
@@ -16,6 +17,7 @@ import {
} from '../utils/source-parsing';
import {log} from '../utils/logger';
import {showError} from './Session';
import {SAVED_FRAMEWORK, SET_SAVED_GESTURES} from '../../shared/setting-defs';
Copy link
Collaborator

Choose a reason for hiding this comment

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

This was accidentally removed from line 4 and re-added here :)

@eglitise eglitise requested a review from KazuCocoa August 19, 2024 11:43
@eglitise eglitise removed the dependencies Dependency updates, removals or additions label Aug 19, 2024
@eglitise
Copy link
Collaborator

Also there's some stray changes in package-lock.json but that's probably fine.

@eglitise eglitise merged commit 8f6ce6d into appium:main Aug 20, 2024
7 checks passed
@eglitise
Copy link
Collaborator

Thanks again for implementing this! 👍

@KazuCocoa KazuCocoa added the size:M contribution size: M label Sep 6, 2024
laib3 pushed a commit to laib3/appium-inspector that referenced this pull request Nov 16, 2024
)

* add file saver dependency

* feat: add support for export/import actions in json format

* Use native file download instead of file-saver

* remove file-save from dependencies

* Update docs with latest changes

* doc update

* Add detailed errors for invalid json files

* Fix formatting

* Fix import order

* CR comment fixes

* Fix typo

* Code review fixes

* update icon

* fix linting and styling

* Fix sugggestions

* avoid state mutation with duplicate actions

* fix linting error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request i18n Translation changes size:M contribution size: M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature idea: export/import saved actions
4 participants