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

Feature: press event to edit #227

Merged
merged 15 commits into from
Jul 19, 2022

Conversation

pdpino
Copy link
Collaborator

@pdpino pdpino commented Jul 6, 2022

Fixes #58

rc1--2022-07-06_14.38.57.mp4

Here is an example usage of the API,

@hoangnm lmk if you have any comments (cc @rdewolff)

@pdpino pdpino added type: feature enhancements or new features status: PR - ready labels Jul 6, 2022
Move example use cases up in README
Simplify common-usages.md
@pdpino pdpino marked this pull request as ready for review July 14, 2022 17:53
@pdpino pdpino mentioned this pull request Jul 18, 2022
@@ -6,7 +6,7 @@ const styles = StyleSheet.create({
position: 'absolute',
borderRadius: 0,
flex: 1,
overflow: 'hidden',
// overflow: 'hidden',
Copy link
Owner

Choose a reason for hiding this comment

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

shall we remove this comment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, I missed it

Copy link
Owner

Choose a reason for hiding this comment

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

wait, but if we remove it, won't the event have any problem?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think there is no problem. It was there to avoid overflowing the text into the grid, but that does not occur anymore (I think since the usage of Animated.View, instead of View):

overflow-hidden-2022-07-18_15.45.09.mp4

@hoangnm
Copy link
Owner

hoangnm commented Jul 18, 2022

Great feature! However, I see it supports editing horizontal, could you explain why?

@pdpino
Copy link
Collaborator Author

pdpino commented Jul 18, 2022

Here is an example of horizontal edition:

edit-horizontally-2022-07-18_15.49.02.mp4

I think it will also be useful with the block-like events #220

@rdewolff
Copy link

Amazing work!

@hoangnm
Copy link
Owner

hoangnm commented Jul 19, 2022

Awesome, the code looks great, thanks for this great feature @pdpino.

@hoangnm hoangnm merged commit 4af883d into hoangnm:master Jul 19, 2022
@rdewolff
Copy link

rdewolff commented Jul 19, 2022

Looks like we're gonna have a nice new release soon 👯

@pdpino pdpino deleted the feature/draft/press-to-edit branch July 28, 2022 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature enhancements or new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can we select time range on the grid?
3 participants