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

Editor: Fix Jumping Cursor #244

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

Samk13
Copy link
Member

@Samk13 Samk13 commented Jul 3, 2024

❤️ Thank you for your contribution!

Description

cursor-test-1

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Frontend

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

@Samk13 Samk13 force-pushed the fix-jumping-cursor branch 3 times, most recently from 3011338 to fbbee2f Compare July 3, 2024 19:33
Samk13 added a commit to Samk13/invenio-requests that referenced this pull request Jul 3, 2024
* these changes depending on thins PR: inveniosoftware/react-invenio-forms#244
* align porperty naming as RichEditior wrongly named value instead of initialValue
* change onchange to onEditorChange as recommended in the tinymce docs.
* Change the prop value to inputValue, as the name value seems to conflict with other elements, causing the input text in edit mode to behave oddly.
@Samk13 Samk13 force-pushed the fix-jumping-cursor branch 3 times, most recently from 4e9c569 to c301261 Compare July 3, 2024 20:13
Samk13 added a commit to Samk13/invenio-requests that referenced this pull request Jul 3, 2024
* these changes depending on thins PR: inveniosoftware/react-invenio-forms#244
* align porperty naming as RichEditior wrongly named value instead of initialValue
* change onchange to onEditorChange as recommended in the tinymce docs.
* Change the prop value to inputValue, as the name value seems to conflict with other elements, causing the input text in edit mode to behave oddly.
@Samk13 Samk13 force-pushed the fix-jumping-cursor branch from c301261 to 3ea0772 Compare July 3, 2024 22:11
@Samk13 Samk13 force-pushed the fix-jumping-cursor branch from 3ea0772 to 1006a39 Compare July 3, 2024 22:16
Samk13 added a commit to Samk13/invenio-requests that referenced this pull request Jul 3, 2024
* these changes depending on thins PR: inveniosoftware/react-invenio-forms#244
* align porperty naming as RichEditior wrongly named value instead of initialValue
* change onchange to onEditorChange as recommended in the tinymce docs.
* Change the prop value to inputValue, as the name value seems to conflict with other elements, causing the input text in edit mode to behave oddly.
Samk13 added a commit to Samk13/invenio-requests that referenced this pull request Jul 5, 2024
* these changes depending on thins PR: inveniosoftware/react-invenio-forms#244
* align porperty naming as RichEditior wrongly named value instead of initialValue
* change onchange to onEditorChange as recommended in the tinymce docs.
* Change the prop value to inputValue, as the name value seems to conflict with other elements, causing the input text in edit mode to behave oddly.
Samk13 added a commit to Samk13/invenio-requests that referenced this pull request Jul 8, 2024
* UI: Add live character count validation to TimelineCommentEditor
* UI: Connect config value through Redux store to make it available as we make config value configurable, this allowe the max limit to change dynamically as well
* These changes depending on thins PR: inveniosoftware/react-invenio-forms#244
* Disable submit button when comment exceed char count
* Disable submit button when it's < 1 char
* Show understandable error msg when exceeding limit
@Samk13 Samk13 added the bug Something isn't working label Jul 10, 2024
Samk13 added a commit to Samk13/invenio-requests that referenced this pull request Jul 10, 2024
* UI: Add live character count validation to TimelineCommentEditor
* UI: Connect config value through Redux store to make it available as we make config value configurable, this allowe the max limit to change dynamically as well
* These changes depending on thins PR: inveniosoftware/react-invenio-forms#244
* Disable submit button when comment exceed char count
* Disable submit button when it's < 1 char
* Show understandable error msg when exceeding limit
@utnapischtim utnapischtim requested a review from kpsherva July 13, 2024 20:42
@kpsherva
Copy link
Contributor

LGTM!
I have only one concern, did you manage to check if any other usage (other than the subsequent PR in invenio-request solves) is affected by this change?

@utnapischtim utnapischtim merged commit 2c56580 into inveniosoftware:master Jul 28, 2024
2 checks passed
utnapischtim pushed a commit to inveniosoftware/invenio-requests that referenced this pull request Jul 28, 2024
* these changes depending on thins PR: inveniosoftware/react-invenio-forms#244
* align porperty naming as RichEditior wrongly named value instead of initialValue
* change onchange to onEditorChange as recommended in the tinymce docs.
* Change the prop value to inputValue, as the name value seems to conflict with other elements, causing the input text in edit mode to behave oddly.
utnapischtim pushed a commit to utnapischtim/invenio-requests that referenced this pull request Aug 1, 2024
* these changes depending on thins PR: inveniosoftware/react-invenio-forms#244
* align porperty naming as RichEditior wrongly named value instead of initialValue
* change onchange to onEditorChange as recommended in the tinymce docs.
* Change the prop value to inputValue, as the name value seems to conflict with other elements, causing the input text in edit mode to behave oddly.
utnapischtim pushed a commit to inveniosoftware/invenio-requests that referenced this pull request Aug 1, 2024
* these changes depending on thins PR: inveniosoftware/react-invenio-forms#244
* align porperty naming as RichEditior wrongly named value instead of initialValue
* change onchange to onEditorChange as recommended in the tinymce docs.
* Change the prop value to inputValue, as the name value seems to conflict with other elements, causing the input text in edit mode to behave oddly.
slint added a commit to zenodo/zenodo-rdm that referenced this pull request Aug 2, 2024
📁 invenio-accounts (5.0.1 -> 5.1.0 🌈)

    release: v5.1.0
    feat(cli): add command for group creation

    * add opensearch, necessary for the invenio-users-resources package
    cli: add command for domain create

📁 invenio-records-permissions (0.19.2 -> 0.20.0 🌈)

    📦 release: v0.20.0
    record: add create_or_update_many permission

    * closes inveniosoftware/invenio-vocabularies#353

📁 invenio-records-resources (6.1.0 -> 6.2.0 🌈)

    📦 release: v6.2.0
    ci: use reusable workflows
    service: add ServiceBulkListResult

    * Adds ServiceBulkListResult and ServiceBulkItemResult
    service: add create update many

    * closes inveniosoftware/invenio-vocabularies#353
    📦 release: v6.1.1
    services: clean up the code

    * closes inveniosoftware/invenio-app-rdm#2685

📁 invenio-requests (4.5.1 -> 4.6.0 🌈)

    release: v4.6.0
    comments: fix jumping cursor

    * these changes depending on thins PR: inveniosoftware/react-invenio-forms#244
    * align porperty naming as RichEditior wrongly named value instead of initialValue
    * change onchange to onEditorChange as recommended in the tinymce docs.
    * Change the prop value to inputValue, as the name value seems to conflict with other elements, causing the input text in edit mode to behave oddly.
    ui: [#855] add community membership request label type

📁 invenio-search (2.3.1 -> 2.4.0 🌈)

    📦 release: v2.4.0
    cli: add "--check/--no-check" flag for mapping updates
    ci: use reusable workflows
    ext: report attempted mappings update on failure (inveniosoftware/invenio-search#224)

📁 invenio-theme (3.2.0 -> 3.3.0 🌈)

    📦 release: v3.3.0
    templates: add meta robot tags

    * Generate robots meta tags from the `THEME_META_ROBOT_TAGS` config or
      exlicitly set via the `meta_robot_tags` Jinja variable.
    header:  increase invenio menu z-index

📁 invenio-users-resources (5.3.0 -> 5.3.1 🐛)

    release: v5.3.1
    config: Update records_html link

    * The records_html link in the UsersServiceConfig class has been updated to include the "parent.access.owned_by.user" query parameter.
    * Add tests for admin links
    * Add tests for admin visibility links
    moderation: fix admin record / draft links

    * Fix admin user lists show no results
    * Closes inveniosoftware/invenio-app-rdm#2721
    * No need to change moderation links as they are functional
Samk13 added a commit to Samk13/invenio-requests that referenced this pull request Aug 13, 2024
* UI: Add live character count validation to TimelineCommentEditor
* UI: Connect config value through Redux store to make it available as we make config value configurable, this allowe the max limit to change dynamically as well
* These changes depending on thins PR: inveniosoftware/react-invenio-forms#244
* Disable submit button when comment exceed char count
* Disable submit button when it's < 1 char
* Show understandable error msg when exceeding limit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Requests: Cursor keeps getting repositioned when writing comments
3 participants