Implement Access token modal like Link social modal #4542
Labels
CSS
design
issue requires more design work and discussion (i.e. mockups and sketches)
fto-candidate
issues which are meant to be solved by first timers but aren't well-formatted yet
HTML
JavaScript
refactorization
This is social media linking modal which is integrated using simple HTML - https://github.com/publiclab/plots2/blob/master/app/views/users/profile.html.erb#L206-L223
This is access token modal which is integrated using JavaScript - https://github.com/publiclab/plots2/blob/master/app/views/users/_token.html.erb which is complicated as token modal can be implemented similar to the social modal.
Make the token modal appear without using the JavaScript code present in file _token.html.erb and implement it just like social media modal i.e., normal bootstrap modal called on button press.
Thanks!
The text was updated successfully, but these errors were encountered: