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

Front-end notes #528

Merged
merged 96 commits into from
May 9, 2016
Merged

Front-end notes #528

merged 96 commits into from
May 9, 2016

Conversation

zackkatz
Copy link
Member

@zackkatz zackkatz commented Sep 22, 2015

Developed on the assumption that we can re-use Gravity Forms
functionality. This may not be the case. If not, we should do AJAX
notes instead, since it's nicer experience.

__TODO: __

  • Convert CSS to external file
  • Add permissions checks
  • Docblocks

┆Issue is synchronized with this Asana task

Developed on the assumption that we can re-use Gravity Forms
functionality. This may not be the case. If not, we should do AJAX
notes instead, since it's nicer experience.

__TODO: __

- [ ] Convert CSS to external file
- [ ] Add permissions checks
- [ ] Docblocks
@zackkatz
Copy link
Member Author

@luistinygod Can you please test?

# Conflicts:
#	includes/class-admin-views.php
I love when sites and apps support this. Like Github Desktop 👍
I did this because I wanted to use `Processing…` and it wouldn't
let me use HTML in attributes. I got frustrated, and realized
`<button>` is better anyway and has good support now!
Just a little. Doesn't hurt.
Instead of bold and yellow, go with a basic template others can tweak.
This might be handy in the future for more quickly fetching notes.
@zackkatz
Copy link
Member Author

zackkatz commented Apr 20, 2016

Things to do before merge:

  • Add a GV widget for placing on single entry pages
  • Create filters for the strings used
  • Add option to show/hide avatar, date meta
  • Add "Form-only" option (no displaying of notes)
  • Clean up the notes.php file
  • Move enqueuing of scripts out of notes.php
  • Move inline JS to file in emails dropdown file
  • Rename email fields away from gentry prefix
  • Implement GravityView-specific permissions: gravityview_edit_entry_notes, gravityview_view_entry_notes, gravityview_view_entry_notes
  • Add testing
  • Add inline success/error notifications
  • Update Capabilities doc to reflect it's been implemented
  • Confirm functionality in Multiple Entries screen
  • Confirm functionality in DataTables Multiple Entries screen

The reality? Anyone who can do this can do this for other people's
notes. This is notes, not comments.
@zackkatz
Copy link
Member Author

zackkatz commented May 8, 2016

  • Add some testing
  • Write readme
  • Write docs
  • Can we improve the styling of the field settings?
  • See if we can get to work in DataTables Multiple Entries screen

zackkatz added 14 commits May 7, 2016 23:16
The "requires" key is the name of another checkbox in the same setting.
Visibility gets toggled based on other checkbox being checked.

This is very basic, but hopefully we can use something more powerful
moving forward.
It's necessary to have the success message when the Entry Notes aren't
being displayed; otherwise the user doesn't know whether the note has
been successfully added.
Shorter!
Just in case we want to pass pure HTML into settings, this is how.
It's still necessary to wrap inputs though.
@zackkatz zackkatz merged commit 502ca6f into develop May 9, 2016
@zackkatz zackkatz deleted the feature/front-end-notes branch May 9, 2016 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants