Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Notes preview: Make Route Match Post and Get Requests (publiclab#8755)
* many Todo's added * add notes preview * Update notes_controller_test.rb * remove draft on node preview method * check whether renaming to save_draft fails any tests * check that tests pass with the save_draft method * revert to draft and create issue * Javascript code that opens preview - Does not display form data yet * open preview in another tab * revise test and update window preview * update preview window * add location and image tag * update test with location * add image in preview tab * add location to preview * Update rich.html.erb * Remove TODO comment * fix preview during edit and tags notice * Add time * remove status from preview * replace preview_tags with override_tags * show location only when selected * codeclimate add space after comma * convert location details to floating values * make the zoom preview a float * remove twice float conversion of zoom * remove tag notice and override tags * improve location logic to prevent failing tests * remove complexity from preview function * make notes preview request both get and post Co-authored-by: sagarpreet-chadha <sagarpreet.chadha@flipkart.com> Co-authored-by: Sagarpreet Chadha <chadha.sagarpreet97@gmail.com>
- Loading branch information