Closed Mk555 closed 3 months ago
Validated on Windows !
Just built this for macOS arm64. TUI launches, refreshes just fine. I don't have an unacknowledged incident to test the ACK currently.
Thanks for your tests !
I think you need to adapt this function to work on MacOS : https://github.com/Mk555/pagerduty-tui/blob/main/src/utils.rs#L14-L17
If you send me a command to open the default browser on MacOS I can add the OS check and add the command
On macOS you can use /usr/bin/open
which will open in the default browser.
I also noticed you should allow configuration for the PagerDuty organization here https://github.com/Mk555/pagerduty-tui/blob/main/src/pagerduty.rs#L15 via the configuration file and config struct.
I created a branch for the issue of organization : https://github.com/Mk555/pagerduty-tui/tree/11-support-macoswindows
I will test that tomorrow, but you can add the parameter pagerduty_domain
in you config with the name of your organization
I also added the open command for macOS, let me know how it works !
Confirmed that open in browser now works on macOS 👍🏻
I was not able to test on MacOS/Windows, if anyone can help and post the issues below it would be helpful !