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

Better landing page #1410

Closed
ebruchez opened this issue Nov 5, 2013 · 23 comments
Closed

Better landing page #1410

ebruchez opened this issue Nov 5, 2013 · 23 comments

Comments

@ebruchez
Copy link
Collaborator

ebruchez commented Nov 5, 2013

Our current landing page is mainly designed to showcase Form Builder and demo forms.

But in practice, it is not easy to remove that page, and so some users just use the landing page as a start page to navigate to Form Builder, for example.

We should do better:

  • Maybe just use the Form Runner Home page. In that case, that page should also point to Form Builder (it does not at this time), including the Summary and New pages.
  • Also, maybe a way to remove the examples and make the Form Runner Home page the landing page.
@avernet avernet removed this from the Review milestone Oct 17, 2014
@ebruchez ebruchez removed this from the Review milestone Oct 17, 2014
@ebruchez
Copy link
Collaborator Author

ebruchez commented Mar 25, 2016

Possible requirements for using the Form Runner "Home" page as landing page:

Q: Do we need to be able to associate an image with each form? Currently we have images, but they are not that great (no unity of style). Otherwise how could we make the look appealing?

@ebruchez
Copy link
Collaborator Author

ebruchez commented Nov 4, 2016

+1 from evaluator to make it clearer what the XForms example do (if we keep them).

@ebruchez
Copy link
Collaborator Author

Suggesting the following:

  • use Form Runner Home page
  • Form Runner Home page to link to Form Builder Form Runner home page to link to Form Builder #2159
  • show form descriptions
  • Q: How to show the Orbeon demo forms first on demo.orbeon.com?
  • Q: Do we want images at all?
    • A: I would say not needed at this point.

@ebruchez
Copy link
Collaborator Author

ebruchez commented Apr 13, 2022

Another idea was to use tiles for a landing page. This could then be separate from /fr/. Possible tiles:

  • "New Form" in form designer
  • "Existing forms" in form designer
  • Published forms
  • Admin page

ebruchez pushed a commit that referenced this issue Jul 27, 2022
ebruchez pushed a commit that referenced this issue Jul 27, 2022
ebruchez pushed a commit that referenced this issue Jul 27, 2022
ebruchez pushed a commit that referenced this issue Jul 27, 2022
@ebruchez
Copy link
Collaborator Author

Since we decided to use Bootstrap 5 for the Landing page, we depend on #1670.

ebruchez pushed a commit that referenced this issue Sep 28, 2022
ebruchez pushed a commit that referenced this issue Sep 28, 2022
ebruchez pushed a commit that referenced this issue Sep 28, 2022
ebruchez added a commit that referenced this issue Sep 28, 2022
ebruchez pushed a commit that referenced this issue Sep 28, 2022
@ebruchez
Copy link
Collaborator Author

Discussing with @avernet, we are leaning towards accepting the idea to have a new landing page with Bootstrap 5 even if the rest of Orbeon Forms is not yet migrated to Bootstrap 5. This would be a new feature, and the current "landing" page is fairly different from the rest of the product already anyway. It wouldn't be a perfect path, but probably acceptable.

If that's the case, then we still need to decide:

  • what minimum features we'd like
  • what is configurable

And then of course implement it.

@ebruchez
Copy link
Collaborator Author

ebruchez commented Oct 1, 2022

So then, what should we have on the landing page for a first version? Tentatively:

  • Card 1: If user has access to any published forms: "Access all your published forms"
  • Card 2: I user has Form Builder access: "View and edit your in-progress forms created with Form Builder"
    • Maybe with list of latest forms
    • Maybe with "New" link right there
  • Card 3: Demo forms
    • can be configured to be removed

We also need away to reach the Admin page.

@ebruchez
Copy link
Collaborator Author

ebruchez commented Oct 6, 2022

  • check why Login dropdown don't work
  • decide if we want /fr/ vs. /fr/landing, and also have a redirect
  • handle LinkToLandingPageParam in param editor
  • LinkToHomePageParam: backward compatibility: where should it link?
  • add forms/admin => go to /forms
  • landing page nav icon in navbar should optional

@ebruchez
Copy link
Collaborator Author

Considering MVP done, just missing doc.

@ebruchez
Copy link
Collaborator Author

If form-builder-permissions.xml contains a requirement that the user has a role, for example my-admin-role, and the user is currently not logged in or is logged in and has that role, what should happen?

Right now, the Landing page shows the link to the Admin page in this case still, but the Admin page:

  • sets any-has-admin-permission to false
  • which causes the page to look like the Forms page, without any buttons

The Landing page cannot know if any-has-admin-permission must be set to true or false because that requires accessing all the data right now, and the Landing page doesn't necessarily want to do that, and in the future there will be paging (#5493).

The solution is to make sure the current "Form Builder" permissions for the user allow at least one role, while for "New Form Builder Form", we also allow the link if there are no permission set in form-builder-permissions.xml.

ebruchez added a commit that referenced this issue Dec 15, 2022
ebruchez added a commit that referenced this issue Dec 19, 2022
ebruchez added a commit that referenced this issue Dec 19, 2022
ebruchez added a commit that referenced this issue Dec 19, 2022
ebruchez pushed a commit that referenced this issue Dec 20, 2022
commit d4d69e6c7eaf368c989e94ce91ce186587dd960b
Merge: 4ea0914 58eebc0
Author: Erik Bruchez <[email protected]>
Date:   Mon Dec 19 17:56:33 2022 -0800

    Merge branch 'pr/5512' into pr-5512-rebase-tmp-5-try-merge

    # Conflicts:
    #	form-runner/jvm/src/main/assets/apps/fr/style/bootstrap-5.1.3-dist/css/bootstrap.css
    #	form-runner/jvm/src/main/assets/apps/fr/style/form-runner-bootstrap5-override.less
    #	form-runner/jvm/src/main/assets/apps/fr/style/form-runner-landing.less
    #	form-runner/jvm/src/main/assets/xbl/orbeon/date/date.less
    #	form-runner/jvm/src/main/assets/xbl/orbeon/datetime/datetime.less
    #	form-runner/jvm/src/main/assets/xbl/orbeon/dropdown-date/dropdown-date.less
    #	form-runner/jvm/src/main/assets/xbl/orbeon/fields-date/fields-date.less
    #	form-runner/jvm/src/main/assets/xbl/orbeon/time/time.less
    #	form-runner/jvm/src/main/resources/apps/fr/components/components.xsl
    #	form-runner/jvm/src/main/resources/apps/fr/components/view.xsl
    #	form-runner/jvm/src/main/resources/apps/fr/i18n/resources.xml
    #	form-runner/jvm/src/main/resources/apps/fr/landing/landing.xhtml
    #	form-runner/jvm/src/main/resources/apps/fr/page-flow.xml
    #	form-runner/jvm/src/main/resources/apps/fr/summary/view.xhtml
    #	form-runner/jvm/src/main/resources/xbl/orbeon/bootstrap5-select1/bootstrap5-select1.xbl
    #	form-runner/jvm/src/main/resources/xbl/orbeon/date/date.xbl
    #	form-runner/jvm/src/main/resources/xbl/orbeon/pager/pager.xbl

commit 58eebc0
Author: tiz170 <[email protected]>
Date:   Mon Dec 19 15:56:07 2022 -0800

    fix input field width of 'Other' radio

commit 0513a3d
Author: tiz170 <[email protected]>
Date:   Mon Dec 19 11:50:45 2022 -0800

    fix table content height

commit 3f89f8d
Author: tiz170 <[email protected]>
Date:   Sun Dec 18 14:12:25 2022 -0800

    fix hovered nav links styling and nav items padding

commit ddfe841
Author: tiz170 <[email protected]>
Date:   Sun Dec 18 12:40:40 2022 -0800

    align nav links in one line

commit 9206356
Author: tiz170 <[email protected]>
Date:   Sun Dec 18 11:17:13 2022 -0800

    fix button and btn link styling

commit fc5ca56
Author: tiz170 <[email protected]>
Date:   Wed Dec 14 22:45:18 2022 -0800

    fix font weight of table

commit 31a4718
Author: tiz170 <[email protected]>
Date:   Wed Dec 14 22:27:13 2022 -0800

    fix table styling for review page

commit 5488550
Author: tiz170 <[email protected]>
Date:   Wed Dec 14 21:12:10 2022 -0800

    fix 'Text Area' height and checks position for review page

commit 0f3c02e
Author: tiz170 <[email protected]>
Date:   Sun Dec 11 14:51:53 2022 -0800

    fix 'Test' button styling for form builder page

commit 03e8b88
Author: tiz170 <[email protected]>
Date:   Sun Dec 11 14:03:30 2022 -0800

    fix the btn link styling for form builder page

commit 1425fb1
Author: tiz170 <[email protected]>
Date:   Sun Dec 11 11:57:18 2022 -0800

    fix legend styling for form builder page

commit d149365
Author: tiz170 <[email protected]>
Date:   Sun Dec 11 11:38:21 2022 -0800

    fix the nav tab styling for form builder page

commit 34c4f85
Author: tiz170 <[email protected]>
Date:   Tue Dec 6 21:57:06 2022 -0800

    revise the override of the table

commit a786f5e
Author: tiz170 <[email protected]>
Date:   Tue Dec 6 20:33:57 2022 -0800

    checks and radios styling for review page

commit bf80a98
Author: tiz170 <[email protected]>
Date:   Sun Dec 4 10:51:58 2022 -0800

    fix the height of the text fields for review page

commit 6b2884c
Author: tiz170 <[email protected]>
Date:   Thu Dec 1 13:48:29 2022 -0800

    revise the override of the textarea

commit 6a465d9
Author: tiz170 <[email protected]>
Date:   Tue Nov 29 11:49:49 2022 -0800

    rewrite the selector of text area for form controls page

commit c3e8d74
Author: tiz170 <[email protected]>
Date:   Sun Nov 27 15:33:01 2022 -0800

    remove useless important in input, select, textarea style

commit 91fc967
Author: tiz170 <[email protected]>
Date:   Sun Nov 27 15:27:45 2022 -0800

    remove useless important in error alert style

commit c137697
Author: tiz170 <[email protected]>
Date:   Sun Nov 27 15:17:41 2022 -0800

    remove useless important in pagination style for admin or home page

commit 798dbf6
Author: tiz170 <[email protected]>
Date:   Sun Nov 27 15:06:28 2022 -0800

    remove useless important in btn style

commit 7fc9acf
Author: tiz170 <[email protected]>
Date:   Sun Nov 27 14:29:45 2022 -0800

    remove useless important in btn link style

commit d0cd8a9
Author: tiz170 <[email protected]>
Date:   Wed Nov 23 20:37:15 2022 -0800

    revise the override of the “selected” dropdown menu and language selector

commit c39d117
Author: tiz170 <[email protected]>
Date:   Sun Nov 20 14:46:35 2022 -0800

    rewrite the selector for input bar, checks & radios, and date picker

commit fcec129
Author: tiz170 <[email protected]>
Date:   Tue Nov 15 19:02:47 2022 -0800

    fix the height of the dropdown selector

commit 1cf78cd
Author: tiz170 <[email protected]>
Date:   Tue Nov 15 18:21:29 2022 -0800

    fix the conflicts of tables for bookshelf, travel, and dmv-14

commit 124627c
Author: tiz170 <[email protected]>
Date:   Tue Nov 15 18:04:45 2022 -0800

    fix the conflicts of tables for bookshelf, travel, and dmv-14; fix input bar styling

commit 89aca9a
Author: Erik Bruchez <[email protected]>
Date:   Mon Nov 14 19:55:57 2022 -0800

    For #1670: update `fr:date`

commit 3f40873
Author: tiz170 <[email protected]>
Date:   Sat Nov 12 16:18:40 2022 -0800

    fix input bar styling for controls review page

commit 38ae6fa
Author: tiz170 <[email protected]>
Date:   Sat Nov 12 15:31:47 2022 -0800

    fix pagination styling for admin or home page

commit b5cc84e
Author: tiz170 <[email protected]>
Date:   Sat Nov 12 15:08:44 2022 -0800

    fix pagination and table border styling for admin or home page

commit 081d79c
Author: tiz170 <[email protected]>
Date:   Sat Nov 12 13:09:37 2022 -0800

    fix pills and date picker styling for dmv-14 page

commit 955ecf1
Author: tiz170 <[email protected]>
Date:   Mon Nov 7 22:42:14 2022 -0800

    fix table styling for travel page

commit 5c99254
Author: tiz170 <[email protected]>
Date:   Mon Nov 7 19:44:30 2022 -0800

    fix text-overflow

commit d022dcc
Author: tiz170 <[email protected]>
Date:   Mon Nov 7 18:46:25 2022 -0800

    fix button styling

commit 33cfbcf
Author: tiz170 <[email protected]>
Date:   Mon Nov 7 00:19:43 2022 -0800

    fix table styling for travel page

commit b8ea13e
Author: tiz170 <[email protected]>
Date:   Sun Nov 6 16:25:42 2022 -0800

    fix styling of language dropdown

commit 8fad2e4
Author: tiz170 <[email protected]>
Date:   Sun Nov 6 16:20:17 2022 -0800

    fix Notes styling for bookshelf page

commit 2f10fd4
Author: tiz170 <[email protected]>
Date:   Sun Nov 6 13:05:16 2022 -0800

    fix the height of input and dropdown

commit 5935d79
Author: tiz170 <[email protected]>
Date:   Thu Nov 3 15:29:04 2022 -0700

    property for home-or-admin page updates

commit e35d254
Author: tiz170 <[email protected]>
Date:   Sun Oct 30 23:42:45 2022 -0700

    fix styling for 'Image and File Attachments'

commit 711af69
Author: tiz170 <[email protected]>
Date:   Sun Oct 30 16:33:45 2022 -0700

    fix checks & radios styling

commit be1baa7
Author: tiz170 <[email protected]>
Date:   Sun Oct 30 15:14:05 2022 -0700

    fix pagination styling

commit a3294f5
Author: tiz170 <[email protected]>
Date:   Sun Oct 30 13:26:57 2022 -0700

    fix styling for 'Text Controls'

commit 19d459f
Author: tiz170 <[email protected]>
Date:   Wed Oct 26 21:10:23 2022 -0700

    temp

commit f68e469
Author: tiz170 <[email protected]>
Date:   Wed Oct 26 21:08:47 2022 -0700

    temp

commit 6245925
Author: tiz170 <[email protected]>
Date:   Mon Oct 24 21:52:18 2022 -0700

    fix styling for pills when buttons are hoverd, focused, and actived

commit 6c72bfc
Author: tiz170 <[email protected]>
Date:   Mon Oct 24 21:45:16 2022 -0700

    fix styling for pills when buttons are hoverd, focused, and actived

commit 046f8ee
Author: tiz170 <[email protected]>
Date:   Sat Oct 22 22:51:42 2022 -0700

    fix styling for pills

commit e40305f
Author: tiz170 <[email protected]>
Date:   Fri Oct 21 20:54:40 2022 -0700

    fix styling for 'Date and Time', 'Buttons', 'US Address Template'

commit 9c8bc8b
Author: tiz170 <[email protected]>
Date:   Fri Oct 21 20:27:14 2022 -0700

    fix styling for 'Date and Time'

commit a8853ed
Author: tiz170 <[email protected]>
Date:   Fri Oct 21 16:14:09 2022 -0700

    fix dropdown and input bar styling

commit 1e8a107
Author: tiz170 <[email protected]>
Date:   Sat Oct 15 18:42:22 2022 -0700

    revise 'Currency' styling

commit ca7112a
Author: tiz170 <[email protected]>
Date:   Sat Oct 15 17:43:51 2022 -0700

    fix 'Date' styling

commit e98e7b8
Author: tiz170 <[email protected]>
Date:   Fri Oct 14 17:44:48 2022 -0700

    fix 'Number' and 'Currency' styling

commit 6924b97
Author: tiz170 <[email protected]>
Date:   Thu Oct 13 18:23:06 2022 -0700

     fix 'Phone Number' styling

commit 429e616
Author: tiz170 <[email protected]>
Date:   Sun Oct 9 23:44:57 2022 -0700

    fix error message styling

commit 6e43016
Author: tiz170 <[email protected]>
Date:   Sun Oct 9 18:22:21 2022 -0700

    fix styling for buttons, description area, section title

commit 61419fd
Author: Erik Bruchez <[email protected]>
Date:   Thu Sep 29 13:59:29 2022 -0700

    For #1670: property for detail page updates

commit 8815eba
Author: Erik Bruchez <[email protected]>
Date:   Tue Sep 27 18:34:47 2022 -0700

    Minor: indent and clean-up

commit ef42438
Author: Erik Bruchez <[email protected]>
Date:   Tue Sep 27 18:31:05 2022 -0700

    For #1670: Summary: update navbar

commit 0d87e63
Author: tiz170 <[email protected]>
Date:   Sun Sep 25 18:26:47 2022 -0700

    For #1670: Summary: fix dropdown item selected area

commit 0b58587
Author: tiz170 <[email protected]>
Date:   Tue Sep 27 17:56:39 2022 -0700

    For #1670: Summary: fix pagination background color

commit 0fec7c2
Author: tiz170 <[email protected]>
Date:   Sun Sep 25 16:47:11 2022 -0700

    For #1670: Summary: fix dropdown divider and menu styling

commit 8aa3517
Author: tiz170 <[email protected]>
Date:   Wed Sep 21 19:09:06 2022 -0700

    For #1670: Summary: fix bugs in dropdown and fix styling

commit 928264f
Author: tiz170 <[email protected]>
Date:   Mon Sep 12 11:01:28 2022 -0700

    For #1670: Summary: fix pagination styling

commit 1c9fd36
Author: tiz170 <[email protected]>
Date:   Fri Sep 2 10:57:06 2022 -0700

    For #1670: initial work on Summary page, add property and ref overrides

commit f2ee7b1
Author: tiz170 <[email protected]>
Date:   Tue Aug 9 21:05:04 2022 -0700

    For #1410: first steps

commit 2f78c5b
Author: Erik Bruchez <[email protected]>
Date:   Wed Sep 28 15:37:07 2022 -0700

    For #1410: add landing page skeleton

commit b548d6a
Author: Erik Bruchez <[email protected]>
Date:   Tue Jul 26 17:35:51 2022 -0700

    For #1410: Bootstrap 5 navbar

commit 0d1c8ef
Author: Erik Bruchez <[email protected]>
Date:   Tue Jul 26 17:28:45 2022 -0700

    For #1410: add icon to link to landing page

commit 2ebe2cc
Author: Erik Bruchez <[email protected]>
Date:   Tue Jun 7 11:49:57 2022 -0700

    For #1410: way to update landing page assets

commit 288205c
Author: Erik Bruchez <[email protected]>
Date:   Wed May 4 11:58:44 2022 -0700

    For #1410: add mode and page

commit b446900
Author: Erik Bruchez <[email protected]>
Date:   Tue Jul 26 17:44:56 2022 -0700

    For #1410 and #1670: add Bootstrap 5
@ebruchez
Copy link
Collaborator Author

ebruchez commented Jan 2, 2023

  • doc

@ebruchez
Copy link
Collaborator Author

ebruchez commented Aug 2, 2023

  • consider setting to disable landing page by configuration (maybe enter separate issue)

@ebruchez
Copy link
Collaborator Author

ebruchez commented Sep 26, 2023

  • update doc, which currently mentions the Home Page

@ebruchez
Copy link
Collaborator Author

+1 for doc

@ebruchez
Copy link
Collaborator Author

Documented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants