-
Notifications
You must be signed in to change notification settings - Fork 17
Fix: Show item on sorting / discard values #43
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
Open
jonnitto
wants to merge
9
commits into
mireo91:master
Choose a base branch
from
jonnitto:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
5a18807
Fix: Show item on sort
jonnitto feaba51
Fix: Discarding values
jonnitto 52b2803
Update: Render files
jonnitto a75eb8f
Fix: Make discard work with automatic sorting
jonnitto 3247610
Update: Render files
jonnitto 0e528fa
Update: Add github folder
jonnitto 12ad942
Update Resources/Private/Editor/Repeatable/index.jsx
jonnitto dc82f20
Update Resources/Private/Editor/Repeatable/helper.js
jonnitto 8acb8f0
Update: Code improvments
jonnitto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # How to contribute | ||
|
|
||
| I love to welcome your contributions. There are several ways to help out: | ||
|
|
||
| - Create an [issue](../../../issues) on GitHub, if you have found a bug | ||
| - Provide examples for open bug issues | ||
| - Write patches for open bug/feature issues | ||
|
|
||
| There are a few guidelines that I need contributors to follow so that I have a chance of keeping on top of things. | ||
|
|
||
| ## Getting Started | ||
|
|
||
| - Make sure you have a [GitHub account](https://github.com/signup/free). | ||
| - Submit an [issue](../../../issues), assuming one does not already exist. | ||
| - Clearly describe the issue including steps to reproduce when it is a bug. | ||
| - Make sure you fill in the earliest version that you know has the issue. | ||
| - Fork the repository on GitHub. | ||
|
|
||
| ## Making Changes | ||
|
|
||
| - Create a topic branch from where you want to base your work. | ||
| - This is usually the master branch. | ||
| - Only target release branches if you are certain your fix must be on that branch. | ||
| - To quickly create a topic branch based on master; `git branch master/my_contribution master` then checkout the new branch | ||
| with `git checkout master/my_contribution`. Better avoid working directly on the `master` branch, to avoid conflicts if | ||
| you pull in updates from origin. | ||
| - Make commits of logical units. | ||
| - Check for unnecessary whitespace with `git diff --check` before committing. | ||
| - Use descriptive commit messages and reference the #issue number. | ||
|
|
||
| ## Submitting Changes | ||
|
|
||
| - Push your changes to a topic branch in your fork of the repository. | ||
| - Submit a pull request to the repository |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| name: 🐛 Bug report | ||
| description: Create a report to help us improve | ||
| labels: bug | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: Thank you for taking the time to complete this bug report! | ||
| - type: markdown | ||
| attributes: | ||
| value: Please make sure to provide the information we ask for. This will allow us to help you better. | ||
| - type: textarea | ||
| id: what-happened | ||
| attributes: | ||
| label: Describe the bug | ||
| description: A clear and concise description of the current behaviour. | ||
| placeholder: A bug happened! | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: expected | ||
| attributes: | ||
| label: Expected behaviour | ||
| description: A description of what you expect to happen. | ||
| placeholder: I expect to see X or Y | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: reproduction | ||
| attributes: | ||
| label: Steps to reproduce | ||
| description: Please add a link to a repository with a minimal reproduction. Or describe accurately how we can reproduce/verify the bug. | ||
| placeholder: | | ||
| Example steps (replace with your own): | ||
| 1. Clone my repo at https://github.com/<myuser>/example | ||
| 2. Do x and y | ||
| 3. You should see the error come up | ||
| validations: | ||
| required: true | ||
| - type: input | ||
| id: version | ||
| attributes: | ||
| label: Version | ||
| description: The version of RepeatableFields you are using. | ||
| placeholder: ex. v2.2.7 | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: phpinfo | ||
| attributes: | ||
| label: PHP version | ||
| description: | | ||
| Please paste the output of running `php -v`. | ||
| This will be automatically formatted as a code block, so no need for backticks. | ||
| render: shell | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: composerinfo | ||
| attributes: | ||
| label: Environment | ||
| description: | | ||
| Please paste the output of running `composer info`. | ||
| This will be automatically formatted as a code block, so no need for backticks. | ||
| render: shell | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: context | ||
| attributes: | ||
| label: Additional context | ||
| description: Anything else that might be relevant | ||
| validations: | ||
| required: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| name: ✨ Feature request | ||
| description: Suggest an idea for this project | ||
| labels: enhancement | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: Thank you for taking the time to suggest a new feature! | ||
| - type: markdown | ||
| attributes: | ||
| value: Please describe the feature in detail. Why would it would be a good addition to RepeatableFields? | ||
| - type: textarea | ||
| id: description | ||
| attributes: | ||
| label: What should be improved? | ||
| description: Is your feature request related to a problem? Please describe it. | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: solution | ||
| attributes: | ||
| label: Describe the solution you would like | ||
| description: A clear and concise description of what you want to happen. | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: alternatives | ||
| attributes: | ||
| label: Possible alternatives | ||
| description: Describe any alternatives you have considered. | ||
| validations: | ||
| required: false | ||
| - type: textarea | ||
| id: extra | ||
| attributes: | ||
| label: Additional context | ||
| description: Add any other relevant information. | ||
| validations: | ||
| required: false | ||
| - type: checkboxes | ||
| id: can-work | ||
| attributes: | ||
| label: Are you willing to work on this? | ||
| description: Are you willing to help us add this feature? If you are not sure how, feel free to ask for guidance. | ||
| options: | ||
| - label: Yes, I would like to help |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| blank_issues_enabled: true | ||
| contact_links: | ||
| - name: 🗣️ Ask question | ||
| url: https://github.com/mireo91/RepeatableFields/discussions | ||
| about: Please ask and answer questions in discussions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| Describe the big picture of your changes here to communicate to the maintainers why I should accept this pull request. | ||
| If it fixes a bug or resolves a feature request, be sure to link to that issue. | ||
|
|
||
| The best way to propose a feature is to open an issue first and discuss your ideas there before implementing them. | ||
|
|
||
| Always follow the [contribution guidelines](.github/CONTRIBUTING.md) when submitting a pull request. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| changelog: | ||
| exclude: | ||
| labels: | ||
| - ignore-for-releasenotes | ||
| - dependencies | ||
| categories: | ||
| - title: 💥 Breaking changes | ||
| labels: | ||
| - breaking | ||
| - title: ✨ Exciting new features | ||
| labels: | ||
| - enhancement | ||
| - title: 🐛 Found and fixed bugs | ||
| labels: | ||
| - bug | ||
| - title: 📝 Added documentation | ||
| labels: | ||
| - documentation | ||
| - title: 🩹 Other changes | ||
| labels: | ||
| - '*' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment says "add an fixed index" but should be "add a fixed index". The article "an" is used before vowel sounds, and "fixed" starts with a consonant sound.