First release and rebranding

This commit is contained in:
Guy Van Sanden 2025-04-09 11:49:01 +02:00
parent d270f9b846
commit c732a9b025
5 changed files with 48 additions and 0 deletions

7
appinfo/app.php Normal file
View File

@ -0,0 +1,7 @@
<?php
namespace OCA\MinimalProfile\AppInfo;
use OCP\Util;
Util::addStyle('minimalprofile', 'style');
Util::addScript('minimalprofile', 'script');

21
appinfo/info.xml Normal file
View File

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<info>
<id>minimalprofile</id>
<name>Minimal Profile Display</name>
<summary>Optionally hide additional user profile details from the interface for a simpler view.</summary>
<description>
This app provides an option to hide certain user profile elements — such as pronouns and custom fields — for a more minimal, distraction-free interface.
Users or administrators can choose to enable this setting for a cleaner experience.
</description>
<version>1.0.0</version>
<licence>agpl</licence>
<author>Your Name</author>
<namespace>MinimalProfile</namespace>
<dependencies>
<nextcloud min-version="26" max-version="31" />
</dependencies>
<category>Customization</category>
<website>https://code.taurix.net/TaurixIT/nextcloud_minimalprofile</website>
<bugs>https://code.taurix.net/TaurixIT/nextcloud_minimalprofile/issues</bugs>
<repository>https://code.taurix.net/TaurixIT/nextcloud_minimalprofile</repository>
</info>

8
composer.json Normal file
View File

@ -0,0 +1,8 @@
{
"name": "nextcloud/minimalprofile",
"autoload": {
"psr-4": {
"OCA\\MinimalProfile\\": "lib/"
}
}
}

5
css/style.css Normal file
View File

@ -0,0 +1,5 @@
/* Hide pronouns field in user profile UI */
#user-pronouns, [for="user-pronouns"], [data-profile-field="pronouns"] {
display: none !important;
}

7
js/script.js Normal file
View File

@ -0,0 +1,7 @@
document.addEventListener('DOMContentLoaded', function () {
const pronounField = document.querySelector('[data-profile-field="pronouns"]');
if (pronounField) {
pronounField.style.display = 'none';
}
});