libresign icon indicating copy to clipboard operation
libresign copied to clipboard

After signing a document, there should be a way for the user to return to the Nextcloud interface

Open DazeEnd opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe. After signing a document, the signing user is presented with a screen that reads "Congratulations you have digitally signed a document using LibreSign." After signing a document, a logged in user will probably want to return to Nextcloud, but there is no way to do that from this screen. The only way to get back to Nextcloud is to go to the browser address bar and type in the URL.

Describe the solution you'd like When logged in Nextcloud users sign a document, the signing process should display the standard Nextcloud app bar at the top of the screen so that the user can return to Nextcloud. Here is a mock-up: image image

Describe alternatives you've considered If the Nextcloud app bar cannot be placed at the top of the screen, then there should at least be a "Home" button placed next to the "See Document Validation" button. When the "Home" button is clicked, the user should be returned to the standard Nextcloud user interface. Here is a mock-up: image

Additional context A signer who is not logged in should not be given the option to return to Nextcloud, because that signer would have no access to Nextcloud.

DazeEnd avatar Mar 04 '24 20:03 DazeEnd

I wish to open at Viewer app when the user is authenticated. Like when open a picture or a markdown document.

vitormattos avatar Mar 05 '24 02:03 vitormattos

I will maintain this issue opened because I disliked the solution that I made. I implemented iframe and only work when click at sign button.

to-do

  • [x] remove iframe
  • [x] Every when the signer is authenticated, open in the same tab as modal
  • [x] When isn't an authenticated signer, will open as external site (without Nextcloud menu).

vitormattos avatar Mar 07 '24 14:03 vitormattos

This is fixed for me in LibreSign 8.0.0-rc7 on Nextcloud 28.0.2. I like the solution you came up with here. It works great, and it fits in well with the other UI conventions.

DazeEnd avatar Mar 08 '24 22:03 DazeEnd

Good idea, then I will move to a new issue.

vitormattos avatar Mar 09 '24 11:03 vitormattos

solved

vitormattos avatar Apr 24 '24 16:04 vitormattos