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

Input customization point #54

Merged
merged 2 commits into from
Apr 19, 2018

Conversation

viktorasl
Copy link
Contributor

@viktorasl viktorasl commented Apr 2, 2018

Originated from #53.

As far as I can see there is no trivial way to do this, so I went the easiest way and forced developers implementing listeners to be cautious and do be aware about might-be-clashing manipulations of text and/or attributes.

7e39198 tinily improved removing of autocompleted text leaving preceding character (which is probably a space AFAIK). (e.g "Hello @SD10" becomes "Hello " instead of "Hello")

@viktorasl viktorasl force-pushed the input-customization-point branch from b63c230 to 7e39198 Compare April 2, 2018 17:45
@rnystrom rnystrom merged commit f359405 into GitHawkApp:master Apr 19, 2018
rnystrom added a commit that referenced this pull request Apr 19, 2018
rnystrom added a commit that referenced this pull request Apr 19, 2018
@rnystrom
Copy link
Member

I'm actually reverting this b/c I didn't really think about the long term effects of adding a breaking change w/out a plan for #53.

@viktorasl
Copy link
Contributor Author

What are the next steps? Is the solution to this should not introduce any breaking changes?

@rnystrom
Copy link
Member

@viktorasl breaking changes are fine since this lib is so young, but I think we need to know why this change is required in the long run

Sent with GitHawk

@viktorasl
Copy link
Contributor Author

My plan is that this implementation will allow manipulating text that will be changed by conforming to MessageTextViewListener protocol. Similarly to the way MessageAutocompleteController is done.

IMHO that's pretty convenient way to tackle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants