Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.29k stars 2.74k forks source link

[UI/UX] Update body class to all pages #26856

Open atm-john opened 10 months ago

atm-john commented 10 months ago

Feature Request

Here is a summary of the actions to be taken on Dolibarr pages following the ui/ux round table at the Dolibarr winter 2023 dev camp.

To help css integrator to easily target elements according to page context.

Note : css class name use bem write style

Use case

No response

Suggested implementation

For all page add css classes to body

  1. To describe curent module use the prefix mod- followed by the module name ex : mod-modulename

  2. To describe curent page type use the prefix page- followed by the page type: page-list list of page type : page-list, page-card, page-dashboard, page-stats, page-admin, page-card_documents , page-card_notes, page-card_agenda

  3. Differentiate between edit, create, and delete at file level by using css class. To describe curent page action use the prefix action- followed by the curent action. limit class to action-create, action-delete, action-update Action-view isn't present because irrelevant view is default action

    Suggested steps for 3

    • [ ] add behavior to llxHeader

Suggested steps for 1 & 2

atm-lena commented 3 months ago

@atm-john I take care of the “product” part

EchoLoGeek commented 3 months ago

@atm-john I did "BOM" and "partnership" #29875

atm-john commented 3 months ago

I will deal with supplier_proposal

atm-lena commented 3 months ago

@atm-john I take care of the “user” part

EchoLoGeek commented 3 months ago

@atm-john I take care of the "ticket" part

atm-lena commented 3 months ago

I'm working on "admin" part 🤓

EchoLoGeek commented 3 months ago

@atm-john "ticket" and "resource" are done

EchoLoGeek commented 3 months ago

@atm-john Working on "reception"

atm-lena commented 3 months ago

@atm-john bookmark & barcode done

atm-lena commented 3 months ago

@atm-john export & commande part done

atm-lena commented 3 months ago

@atm-john oexport & takepos part done (except invoice.php and phone.php, not necessary)

atm-lena commented 3 months ago

@atm-john webhook & webservice & workstation part done

EchoLoGeek commented 3 months ago

@atm-john I take care of the "accountancy" part

aspangaro commented 3 months ago

@atm-john I finish "accountancy" part that @EchoLoGeek had begun

d3v2a commented 3 months ago

Has anyone tested #29969

EchoLoGeek commented 2 months ago

@atm-john projects done

atm-john commented 2 months ago

List updated @EchoLoGeek @aspangaro

atm-lena commented 2 months ago

I take care of the “ficheinter” and "fourn_facture" part