mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-05-15 14:15:55 -06:00
[PR #89] [MERGED] Addition of a "friendly" display name for Monitors #1040
Labels
No labels
Status: Abandoned
arm64
beta
beta
bug
done
duplicate
enhancement
feedback needed from reporter
in progress
invalid
investigating
known Issue
monitor Issue
pull-request
translation
unable to reproduce
unreleased
x86
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/MonitorControl#1040
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MonitorControl/MonitorControl/pull/89
Author: @Jtango18
Created: 5/13/2019
Status: ✅ Merged
Merged: 5/16/2019
Merged by: @the0neyouseek
Base:
master← Head:master📝 Commits (5)
d907f49Added hardcoded FriendlyName6d960c1Modified to read FriendlyName from UserDefaults5b3c86dTidy some nil handling963a8ccAdded Notifications for live updates of name changes7fe3107Added English localised string for "Friendly Name"📊 Changes
8 files changed (+121 additions, -14 deletions)
View changed files
➕
MonitorControl.xcodeproj/project.xcworkspace/contents.xcworkspacedata(+7 -0)📝
MonitorControl/AppDelegate.swift(+6 -1)📝
MonitorControl/Display.swift(+8 -0)📝
MonitorControl/Support/Utils.swift(+3 -0)📝
MonitorControl/UI/Base.lproj/Main.storyboard(+47 -11)➕
MonitorControl/UI/FriendlyNameCellView.swift(+33 -0)📝
MonitorControl/UI/en.lproj/Main.strings(+3 -0)📝
MonitorControl/View Controllers/DisplayPrefsViewController.swift(+14 -2)📄 Description
Hi,
First PR for this from me, more than happy if you deem it unnecessary and reject it since it's all for an issue I personally have.
I've added the ability for a user to assigned "friendly names" to the monitors listed for them.
I have a problem where I have two identical monitors, that show up with the exact same name in the drop-down menu.
My modification includes an editable cell in the preferences view where a user can specify a more meaningful name ("Left Screen" and "Right Screen" for example")
These names are stored in preferences and then propagated through the UI.
A couple of things that are probably worth noting:
It's been quite a while since I've done Prod level macOS development, so please feel free to critique anything you feel I need to address.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.