-
Notifications
You must be signed in to change notification settings - Fork 313
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
More modals needed for confirmation #261
Comments
The flag reason should be optional, where as reason for removal should be |
Here's the beginnings... I'm not ready to take this on just yet as an Assignee because I really don't have a clue how to get this part working with the existing remove.js controller. What am I clearly missing (that's probably staring right in my face) ?? :) |
…ther modal we have. Applies to OpenUserJS#261
I am not quite sure any computer code is that self-aware... usually it's obfuscated code... sometimes it might be undocumented auto liking... e.g. "let's like my fave FB groups in the background without telling you"... I still believe in giving one chance, currently, to not make the same mistake with publishing a script... although there are times that I'd rather not spend a great deal of time being more than fair... but until some more support structure is added to our admin/moderator tasks I think it's best to be a little less stringent until we have most of it all in place. I took your suggestions and I'm still getting a 404... as this is the 2nd time (yes that's two) that I've twiddled with POST requests... once was on a site that didn't use |
* Put in an app_route POST to the specific controller method * Put in a placeholder controller method * Send `enctype` since this will eventually be in there.
* Put in an app_route POST to the specific controller method * Put in a placeholder controller method * Send `enctype` since this will eventually be in there. Applies to OpenUserJS#261
* Add text input box... `Close` button in all modals seems redundant since there are two other ways to close it... click the `×` or click anywhere outside the modal box... but leaving in for now for some symmetry. * Reorder hidden field to be outside of the form grouping Applies to OpenUserJS#261
Lovely... my test account on dev is removed now... And part of the "Remove User" is in modelParser.js.... this isn't consistent... I'm done twiddling with this part of the issue... if anyone wishes to finish it up I'd be very grateful and probably cletusc too. It's on my branch on my fork... just create your own branch, add a remote of me, fetch from me, then merge into your branch...or use your own code. I'll observe on everything I did and/or didn't do correctly... just be nice and don't abstract it too much in one huge commit please esp. one that runs over the whole issues spectrum... otherwise I'm not going to be much use to OUJS in the medium term. Thanks. |
That's pretty much all that I can think of... I don't know how to import the current Any takers/helpers? I can't test without removing an account on dev and being able to restore it after failure in testing. |
I'll be taking over the problems you've been having with #262. We'll leave this issue for when I get around to adding a "Reason" for removal and flagging. |
* Convert to a post route reusing same handler in controller * Create and include `userModals.html` * Use HTML entity instead of `x` * Change *font-awesome* icon for removal to ban icon for a better visual cue between delete *(trash)* and removal *(Graveyard)* * Very minimal change and mostly *(99.99%)* UI views interaction for removal... yes it does graze [OpenUserJS#262 section block](OpenUserJS#262 (comment)) however this has been needed for current mods and up... Making it a very small change and is why it isn't complete with the "reason" here. Applies to OpenUserJS#261
* One reserved phrase of "User removed" *(any casing)* for automatic content removal when a User is removed. * Basic error checking... Moderators and above should be concise. * Abandoning previous UI since portable devices would barely show the input box... plus a few things have changed since initial attempt. * Leaving out the data list for now until it can be decided where to physically put and name it *(them?)* in the project tree... perhaps time for a user.js. Applies to OpenUserJS#261
* Add a more useful status code/message for missing header instead of default * Some STYLEGUIDE.md conformance with line breaks, white-space and informative comments Applies to OpenUserJS#261 *(Temporary OpenUserJS#262 section block bypass approved by sizzle)*
There are currently a few possibilities to get this particular issue closed:
Opening up to needs discussion to put in others 2 cents. Please note if I don't get a response I may end up deciding on what to do here. e.g. this is a pseudo poll and timing is short. Thanks. |
I like 3 the best, but 2 seems easier to get up and running. My suggestion is to start with 2 and eventually use 3. |
Agreed on 3... I finished 2 a little while ago and refinished 3 in separate commits. With that process that helped me figure out where the "optimum" placement of the .json files should go I think plus an epiphany on it's structure/inclusion too. :) Thanks @sizzlemctwizzle Publishing PR shortly. |
…emoval * This is a "getting started" list * The text box is free form text input so if a preexisting reason isn't available type one in. * Moderators and up should specify specifics when possible e.g. "Obfuscated code packer/packed" * Currently the datalists are alphabetized instead of priority... ones reason priorities may be different than anothers so please keep it that way. :) **NOTES**: * The trailing space in the value **is intentional** and should be maintained... the reason will be trimmed on submission thus saving some typing * If anyone is wondering why the `option` tag doesn't have a close tag it's due to [the spec](http://www.w3.org/TR/html-markup/option.html) under [Tag ommision](http://www.w3.org/TR/html-markup/option.html#option-tags) * Accessing the datalist should be accomplished by two single clicks *(currently one to focus and one to activate)* with a pointing device, pressing the space bar when nothing has been previously entered, and of course if you already know it just start typing the first part and it should filter the datalist. * When possibly adding new values try to mirror them into whichever modal datalist with/without a plural value e.g. a repeat offender so usually that User will go away... this won't always be the case and it may eventually veer from this structure a bit. * *Try not to abuse* a generic reason without elaborating e.g. like spamming. * I don't consider "silly scripts" to be a valid reason and neither should anyone else. Remember the "Have fun but at the same time not at some other persons expense." part of the TOS. :) * This is option 2 Applies to OpenUserJS#261
Heh... GH currently has the commit references backwards sometimes. :\ ... okay in the PR though. |
* Minor glitch perhaps down the line Applies to OpenUserJS#261
* One of many CSS fixes again just as in OpenUserJS#268 via OpenUserJS#265 * Reuse the same width... appears well and opens up the Reason to be the focal point Also applies to OpenUserJS#261
* Useful to see if we are doing things correctly on removal * Some STYLEGUIDE.md conformance with braces... manually done Applies to OpenUserJS#261
* Done previously in OpenUserJS#654 for public sortings * Add some *font-awesome* icons to the graveyard * Transform "All Types" to the correct nomenclature of "Clear Filters" * Change `href` to use parent plus `/removed` e.g. `./removed` static * Made User removal reason virtual instead of hard-coded... useful for Search filters e.g. reason is now blank when system generated... still don't allow a blank reason from a real author.. post fix for OpenUserJS#261 and pull OpenUserJS#513. This allows no reserved phrases other than string empty. * Some STYLEGUIDE.md conformance * DB remove model **migrated** as far back as "User removed" existed * Added some common needed Filters and reordered similar to GH... not all are implemented yet Closes OpenUserJS#526
* Change route to use regex and a POST... removed TODO note on it... **NOTE** `nav-pills` UI issue with form buttons... so making `Flag` and `Unflag` in their own div tag as intended * Establish a controller function to flag/unflag * Removed now dead code... aOptions and exports * Cleaned up remove controller function code a little bit to be more symmetrical... post OpenUserJS#510, OpenUserJS#513, OpenUserJS#514 with parent of OpenUserJS#261 e.g. e0929ca...e1e3f7e excluding OpenUserJS#511 * Some STYLEGUIDE.md conformance * Don't `return` some assumed `undefined`s in `aNext()`s and `statusCodePage()` Applies to OpenUserJS#775
* for possible common reason for removal. Applies to OpenUserJS#519 and OpenUserJS#261 and OpenUserJS#261 (comment) and
Currently when sending something to the graveyard we aren't giving an option to cancel/close. Also setting the "Reason" why... it would be helpful to have a modal popup, similar to Delete Script, to enter in the reason.
We do currently have allocated in the DB a space for this but we aren't utilizing it.
Flagging could also have a reason stored but I don't currently see that capability already.
Progress
The text was updated successfully, but these errors were encountered: