* Refactor input form fields by specifying attributes
* Remove unsafeHTML and slots in chromedash-form-field
* Update the unit test and remove unused properties
* Fix hard-coded input field name for radios
* Render guide/edit form without unsafeHTML
* Update guide page unit tests
* no longer need to pass in overviewForm
* Refactor verify_accuracy page and migrate its form to js
* Remove unused code
* Resolve web test complaints
* Make changes based on changes from previous PR
* Refactor input form fields by specifying attributes
* Remove unsafeHTML and slots in chromedash-form-field
* Update the unit test and remove unused properties
* Fix hard-coded input field name for radios
* Render guide/edit form without unsafeHTML
* Update guide page unit tests
* no longer need to pass in overviewForm
* Register form submit handler via ref
* Resolve web test complaints
* Format feature for edit in JS
* show relative timestamp on safari and firefox
* show relative timestamp on safari and firefox
* update and add test
* Use local variable
* update tests
* Refactor input form fields by specifying attributes
* Remove unsafeHTML and slots in chromedash-form-field
* Update the unit test and remove unused properties
* Fix hard-coded input field name for radios
* renderField() -> renderWidgets()
* Only convert URLs to anchor tags
* fix tests
* no links test has single string
* syntax change
* comparing objects
* test with query strings
* fix strings
* autolinking copy over from monorail
* add tests and remove user email linking
* test changes
* more test updates
* new line fix
* string comparisons
* move autolink to separate file
* remove todo
* fix import
* Update package.json
* Update package-lock.json
* Revert "Update package-lock.json"
This reverts commit 12fd140595.
* Revert "Update package.json"
This reverts commit 8853ee9fff.
* revert last change from package.json
* Convert guide/verify_accuracy page into a component
* Add form_fields hidden input to verify and editall pages
* Correct form_field values and check them in tests
* fix `getFormFields()`
* Convert content in guide/new.html into a component
* Move chromedash-form-field css back to form.scss
* Add unit test and additional style
* add a space
* Add accuracy verification page
* remove cron check and fix tests
* More tests added
* change text to match design doc
* fix tests and naming
* refactoring for clarity
* Replace django checkbox with chromedash-form-field generated checkbox field.
* Generate form table row for checkbox in django without the form field
* cleanup. remove unneeded test of 'Unlisted'
* Use light DOM for field and errors.
* Fix chromedash0form-field_test.
* More cleanups.
* Add test of "Unlisted" checkbox to chromedash-form-field_test.
* Remove unused form-controller.
* misc.
* Workarounds for set_stage and feature_type.
* Set up partial SPA at /spa route
* Remove console.log
* Fix header active page indicator for SPA
* Simplify SPA route rules
* remove header and banner slots in the app element
* Update variable name in _base.html
* Fix variable names and remove unnecessary block
* Add support for displaying extra help
* Move extra help to a new row, colspan=2.
* Use sl-icon-button with + and - icons.
* Cleanup, indent extra help
* Remove extra_help examples. more cleanups.
* Workaround conflict with Shoelace event listeners.
* Start migrating form field labels to form-field-specs.js
* (stage all the changes)
* Inline use of fieldProps.label
* Check edit permissions by individual feature
* update logic to check permissions
* editors field added
* editors can see edit access in UI
* myfeatures shows editable features
* Make editor field plural
* 1 more plural update
* change var name for site editor
* Editors can delete a feature
* Site editors can now be designated in admin ui
* fix existing tests to work with new changes
* feature and permissions tests
* accounts and models test
* new creator field
* update tests for creator field
* code cleanup
* add creator field to new feature
* unlisted features are displayed in "My Features"
If the user is the creator, an owner, or an editor.
* slight update in unlisted features logic
* My features displays all editable features
in a single dropdown.
* fix web tests
* add test to ensure creator can edit feature
* remove unused _reject_or_proceed() change
* remove mangle and log statement
* Set original permissions
All changes to permissions.py removed.
This commit can be reverted to enable to new permissions system.
* changes suggested by @jrobbins
* update from merge
* remove creator field for later implementation
* changes suggested by @jrobbins
* Migrate remainin help_text to form-field-specs.js.
* Remove test for "help" slot in chromedash-form-field_test.js
* Update help text consistent with #2015.
* Updates/corrections from Jason.
* Change placeholder "Milestone #" to "Milestone number"
* Add name attribute to each chromedash-form-field. Use to look up help text.
* Move help_text for all new and metadata fields.
* Clean up and add comments.
* Add chromedash-form-table and -form-field and use for all form table and field rows.
* Display error text before form field, as it used to.
* Add minimal tests for -form-table and -form-field.
* Add unit tests. Delete commented code.
* Remove unused variables in utils.js
* Undelete showToastMessage and openApprovalsDialog.
* Rename myfeatures to myfeatures-page
* Add myfeatures page tests and refine related elements
* Add toast util method and add component imports
* Fix unit test errors
* Fix ApprovalsDialog
* Change the guide form field layout for all tables
* Updates following comments
* Add chromedash-checkbox, just so we can use the label attribute.
* Add missing option close tag: <option></option>
* Add process and fieldDefs APIs and move components
* Add processes, cues, fielddefs tests
* Fix typos
* Add `permissions_api` and clean up `feature.html`
* Add permissions_api test and improve feature page test
* Change TODOs, rename test response variables
* Add chromedash-feature-page element
* Add spinner and move styles into page component
* Add autolinks and add js unit tests
* Fix summary autolink
* Add `sinon` and complete feature-page js test
* Update package-lock.json to include `sinon`
* Update package-lock.json to include `sinon`
* Fix css format, move `sinon` to devDep
* Fix feature page bugs
* Move Promise definitions into test body
Co-authored-by: kevinshen56714 <kevinshen56714@hotmail.com.tw>
* Define and use chromedash-textarea. Use sl-input.
* Fix problems. Use setCustomValidity() as intended.
* Add tests of valid and invalid input.
* Add missing newline and remove extra space.