From 3065ff13cce2ecf20e446e321597985b57f27264 Mon Sep 17 00:00:00 2001 From: Guy Van Sanden Date: Thu, 16 Apr 2026 20:49:47 +0200 Subject: [PATCH] Clean up working version --- README.md | 60 ++++++++++--------------------------------------------- 1 file changed, 11 insertions(+), 49 deletions(-) diff --git a/README.md b/README.md index b90f596..1a44ce7 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,6 @@ A Nextcloud 33 app that hides profile fields to create a minimal user profile. -## Features - -- Hide profile fields like pronouns, social links, and more -- Works on personal settings page - ## Installation 1. Copy the `minimalprofile` folder to your Nextcloud `apps/` directory @@ -17,27 +12,20 @@ A Nextcloud 33 app that hides profile fields to create a minimal user profile. ## Usage -### Set hidden fields using OCC config command +Open browser console (F12) on the settings page and run: -Hide the pronouns field: -```bash -occ config:app:set minimalprofile hidden_fields --value='["pronouns"]' +```javascript +// Hide pronouns +localStorage.setItem('minimalprofile_hidden', JSON.stringify(['pronouns'])) + +// Hide multiple fields +localStorage.setItem('minimalprofile_hidden', JSON.stringify(['pronouns','role','headline'])) + +// Show all fields +localStorage.removeItem('minimalprofile_hidden') ``` -Hide multiple fields: -```bash -occ config:app:set minimalprofile hidden_fields --value='["pronouns","role","headline"]' -``` - -### View hidden fields -```bash -occ config:app:get minimalprofile hidden_fields -``` - -### Show all fields (reset) -```bash -occ config:app:delete minimalprofile hidden_fields -``` +Then refresh the page. ## Available Fields @@ -46,32 +34,6 @@ occ config:app:delete minimalprofile hidden_fields | `pronouns` | User pronouns (e.g., she/her) | | `role` | Job title / role | | `headline` | Personal tagline | -| `biography` | User bio | -| `organisation` | Organization | -| `phone` | Phone number | -| `address` | Physical address | -| `birthdate` | Birthdate | -| `website` | Website URL | -| `twitter` | Twitter handle | -| `fediverse` | Fediverse handle | -| `location` | Location | - -## Examples - -Hide just pronouns: -```bash -occ config:app:set minimalprofile hidden_fields --value='["pronouns"]' -``` - -Hide pronouns, role, and headline: -```bash -occ config:app:set minimalprofile hidden_fields --value='["pronouns","role","headline"]' -``` - -Hide all extra social fields: -```bash -occ config:app:set minimalprofile hidden_fields --value='["pronouns","role","headline","biography","website","twitter","fediverse"]' -``` ## Compatibility