Giter VIP home page Giter VIP logo

sol's People

Contributors

ospfranco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sol's Issues

Clipboard history search does not seem to work

After invoking the clipboard history pane, typing anything in the search field does not filter the results. I thought maybe pressing Enter was required to trigger the search, but that just pastes the highlighted line.

I assume that since there is a search field, this is either a bug or perhaps a future feature that simply hasn't been implemented yet.

This is on Sol 1.1.40, MacOS 12.5 (21G72), on an M1 Pro chip.

Spotlight being displayed & not all apps appearing

... I think the title is pretty self-explanatory, but when I press ⌘+ Space Spotlight appears on top of Sol.

Really cool project though! However I also noticed that the apps in /Users/<user>/Applications doesn't appear in Sol. Just in /Applications. Would you be able to implement this in the future please? I generally install apps locally rather than globally so this project is useless for me without it.

Strange behavior with the reload

Hi @ospfranco , when I reload I get these strange behaviors:

  • Audio I was listening to can no longer be seen below
  • Standard applications are not shown

To return to how I was before I have to close the app (esc key) and reopen it.

Registrazione.schermo.2022-03-20.alle.12.49.53.mov

Random crash on 1.1.42

Unsure which change introduced this problem but since updating to 1.1.42 I am unable to reliably launch Sol via cmd+space which I selected in the setup wizard.

When I open Sol from spotlight it shows and I can use it. If it then vanishes and I try to invoke it via cmd+space nothing happens.

error	16:04:53.664577+0200	tccd	<TCCDProcess: identifier=com.ospfranco.sol, pid=3928, auid=501, euid=501, binary_path=/Applications/sol.app/Contents/MacOS/sol> attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement
error	16:04:53.891621+0200	sol	Connection 1: received failure notification
error	16:04:53.891664+0200	sol	Connection 1: failed to connect 1:57, reason -1
error	16:04:53.891686+0200	sol	Connection 1: encountered error(1:57)
error	16:04:53.892968+0200	sol	Task <X>.<1> HTTP load failed, 0/0 bytes (error code: -1005 [1:57])
error	16:04:53.893520+0200	sol	Task <X>.<1> finished with error [-1005] Error Domain=NSURLErrorDomain Code=-1005 UserInfo={_kCFStreamErrorCodeKey=57, NSUnderlyingError=0x6000008a98c0 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 UserInfo={_NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns, _kCFStreamErrorCodeKey=57, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=<private>, _NSURLErrorRelatedURLSessionTaskErrorKey=<private>, NSLocalizedDescription=<private>, NSErrorFailingURLStringKey=<private>, NSErrorFailingURLKey=<private>, _kCFStreamErrorDomainKey=1}
error	16:04:53.904968+0200	tccd	<TCCDProcess: identifier=com.ospfranco.sol, pid=3928, auid=501, euid=501, binary_path=/Applications/sol.app/Contents/MacOS/sol> attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement
error	16:04:57.428127+0200	tccd	Prompting policy for hardened runtime; service: kTCCServiceAddressBook requires entitlement com.apple.security.personal-information.addressbook but it is missing for requesting={<TCCDProcess: identifier=com.ospfranco.sol, pid=3928, auid=501, euid=501, binary_path=/Applications/sol.app/Contents/MacOS/sol>},

Unable to deep link into application (e.g., authentication)

Hey @ospfranco - thank you SO much for your work on Sol. What an incredible application - finally able to tweak and customize the command palette like I could not do with other apps like Alfred.

I have a question for you - I'm looking to extend Sol a bit by adding authentication (right now using Auth0). Auth requires essentially the ability to send the user out of the Sol application and then back in with an access_token (i.e., similar to most MacOS apps).

For example, when I go into Safari and type in raycast:// it will open the command palette, indicating that it is responsive to any routing INTO the app that is happening.

With Sol, I've done the following:

  • Added a URL Scheme for sol:// in the info tab for the app
  • Modified the AppDelegate.m in the following way:
func applicationDidFinishLaunching(_ aNotification: Notification) {
    // https://github.com/microsoft/react-native-macos/pull/1145/commits/d1d0a9f55071736a77efb6413943c0f70771d3bb
    NSAppleEventManager.shared().setEventHandler(
            self,
            andSelector: #selector(getURL(_:withReplyEvent:)),
            forEventClass: AEEventClass(kInternetEventClass),
            andEventID: AEEventID(kAEGetURL))
   // Rest of initialization here
}

  //    https://github.com/microsoft/react-native-macos/issues/1128
  @objc func getURL(_ event: NSAppleEventDescriptor?, withReplyEvent reply: NSAppleEventDescriptor?) {
      print("getURL function hit")
      RCTLinkingManager.getUrlEventHandler(event, withReplyEvent: reply)
  }

  func application(_ application: NSApplication, open urls: [URL]) {
    print("application function hit")
    print(urls[0])
//      RCTLinkingManager.initialUrl = urls[0]
  }

However, I'm not able to hit any of my logging points here when I try hitting sol:// in Safari. The URL is recognized (i.e., it sees that there is an app that has that scheme registered); however, none of my logging points are hit AND Sol does not reopen in the same way that Raycast does. My gut is telling me that it is likely because the application is hidden/in the background that none of these triggers are hit and that I need to do something like Raycast where it launches when called.

Essentially, the end goal is to be able to catch the details of the URL as a "deep link" because it will contain information to log users in via services like Auth0 or others where you have to route the user out to web auth. Do you know what I'm doing wrong here?

Super appreciative in advance.

Order information of the apps

Hi @ospfranco , I was wondering but what order of apps is based on the most used ones recently?

It would be possible to put something on the right that gives you the possibility to select if the order of the apps should be by the most used ones recently or in alphabetical order.

Stop track work time

Hi @ospfranco , I'm not quite understanding how to use Track time.

I have created several but:

  • How exactly they work
  • how do I delete a specific one, I tried to use Stop Track time but it doesn't seem to work

Top half clipped

Hi Oscar,

I just downloaded the newest version because I wanted to try out the transparency. Had 1.1.32 before this and it worked fine. Now it seems that the top half of the search is clipped out when I press cmd + k

Screenshots

Screen Shot 2022-07-29 at 2 20 02 PM

Screen Shot 2022-07-29 at 2 24 53 PM

Love the app Oscar!

Sol is not compatible with Homebrew Cask Standard Livecheck

Hi Oscar,

I'm trying to PR a cask on Homebrew for Sol but the cask could not correctly verify whether it's the latest or not.

Homebrew performs a livecheck when installing a cask according to different methods (described in the documentation).

However, you're currently providing 2 ways to get the last version of Sol:

  • The GitHub release mechanism
  • The Sparkle auto-update mechanism

And there's currently 3 version numbers displayed on GitHub:

So to set up the livecheck in the PR, I have to ignore the latest tag which does not contain the built application and I have to whether deal with:

But as you know, these two contain 2 different version numbers.

To fix the global problem we have here, I would suggest few fixes:

  • to publish a new GitHub release in the same time you update the release in the Sparkle releases folder
    and/or
  • to build the application for every tag you create or keep the latest tag the one with the built application.

Why building for every tags?

Only use the GithubLatest strategy when it’s necessary and correct. github.com rate limits requests and we try to minimize our use of this strategy to avoid hitting the rate limit on CI or when using brew livecheck --tap on large taps (e.g. homebrew/core). The Git strategy is often sufficient and we only need to use GithubLatest when the “latest” release is different than the newest version from the tags.

The above quote from the official Homebrew documentation explains that the standard behaviour (retrieving the last update by getting the last tag of the repo) is preferred to the GithubLatest method I'm using in the current PR.

Nevertheless, it could be nice to keep it consistent by publishing the latest correct version everywhere.

Set the coordinates and the API key

Hi @ospfranco , I created a file called env.json in the main dir.

I wanted to try to set the values but I'm not really understanding how to do it.

I am doing a similar thing.

WEATHER_API_KEY=MYCODE

But it appears that the code is not being taken in the store.

I also un-commented the config.ts file.

No signing certificate error when running yarn dev

Hello,

This is an exciting project! I'd like to attempt a contribution if you're open to it.

I cloned the repo, installed dependencies and ran yarn dev and received an error:

error: No signing certificate "Mac Development" found: No "Mac Development" signing certificate matching team ID "24CMR7378R" with a private key was found. (in target 'macOS' from project 'sol')

Is there a way to resolve this error?

i18n

e.g. Japanese for example, are currently incompatible with SOL's launcher UI.

I think so can be performed after conversions are being finalized.

screenshot

2022-06-19 18 45 22

Correctly request permissions.

There should be some onboarding screens where the user can pause for a bit and enable things like calendar access and accessibility.

Right now the app starts and closes immediately due to calendar and accessibility permission and then they probably don't know how to get back in...

How to select/deselect calendars (or give them a priority)? 📆

Hello,
As an Alfred user, I am curious about Sol. 😎
I have just installed it and I have questions about the calendar integration. 📆

I have 1 personal calendar and 2 professional ones and I would like to show the events from my personal calendar, at least:
Screenshot 2022-08-10 at 07 12 38

Do you know why the personal events are not visible? Maybe that only the first three events are shown?
Are there any way to select/deselect calendars or to give them a priority?

Problems with permissions

Hi @ospfranco , once permission to execute a command has been denied, for example:

  • Dark mode
  • AirDrop

If you try to start it later, nothing happens.

Correct use:
I think if the first time you deny the permission, if you later try to start it, it should ask for permission again.
Instead it does nothing.

Package.resolved file is corrupted or malformed; fix or delete the file to continue: unsupported schema version 2

Hi @ospfranco , I am getting the following error when I open the sol.xcworkspace file.

Schermata 2022-03-19 alle 09 48 52

When I try to run the yarn mac command I get the following error.

yarn run v1.22.4
$ react-native run-macos
info Found Xcode workspace "sol.xcworkspace"
info Building (using "xcodebuild -workspace sol.xcworkspace -configuration Debug -scheme sol-macOS")
.....
error Failed to build macOS project. We ran "xcodebuild" command but it exited with error code 74. To debug build logs further, consider building your app with Xcode.app, by opening sol.xcworkspace.
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace sol.xcworkspace -configuration Debug -scheme sol-macOS

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Resolve Package Graph
Package.resolved file is corrupted or malformed; fix or delete the file to continue: unsupported schema version 2
Resolved source packages:
  HotKey: https://github.com/soffes/HotKey @ master


xcodebuild: error: Could not resolve package dependencies:
  Package.resolved file is corrupted or malformed; fix or delete the file to continue: unsupported schema version 2


info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Start on boot ?

Hello, really nice piece of software. I was wondering if we can init sol on boot ?

Latest automatic update broke my preferred main shortcut.

I use option-space to activate Sol and the latest auto-update (I can't ID version because it's not visible anywhere) broke that key combo. After I press it one time and briefly see Sol's UI, it won't work again until I restart the app.

Additionally, ability to edit keyboard shortcuts is also broken. When I try to select any of the three drop-downs I can only see choices for the clipboard shortcut and selecting either of those choices has NO EFFECT on any shortcut. There is NO WAY to edit shortcuts currently so I can't use Sol unless invoked with a double click in the applications folder, making it totally useless.

Please roll back the latest update.

I was really liking this app but it's lack of "mac-like" features (command-comma to get settings, a basic compliment of menus for example) makes it a gui app without any kind of standard interface and makes it extremely hard to use if the shortcut key is broken as it is now.

Text input caret not visible

Hi @ospfranco , as you can see from the video when it is in light mode it is not clear whether there is focus or not in an input field.

It also happens in the other input fields, for example weather config api.

In the video it can be seen better below because it is zoomed in, but in reality it is not seen.

Registrazione.schermo.2022-03-20.alle.21.11.49.mov

Logo about

Hi @ospfranco , as you can see from the image when it is in light mode, the logo is not visible.

I tried a similar thing, but when the theme change happens it doesn't update.

let hydrate = async () => {
    const storeState = await AsyncStorage.getItem('@ui.store')
    const colorScheme = Appearance.getColorScheme()
    console.log(colorScheme)// no update
...

{
      iconImage: colorScheme === 'dark' ? Assets.SolWhiteSmall : Assets.SolBlackSmall,
      name: 'About',
      type: ItemType.CONFIGURATION,
      callback: () => {
        store.focusWidget(FocusableWidget.ABOUT)
      },
      preventClose: true,
    },


}

Schermata 2022-03-22 alle 19 12 55

How to use features

Would love to be able to use the features listed on the site and in the readme, but where is the how to use guide?

Multiple displays

Hey Oscar,

saw you on HN today, great tool keep it up!

I was using Alfred before and noticed one minor difference. With multiple displays Alfred (and I think default spotlight search too) shows the searchbar on the display on which my mouse is at the moment. With sol it comes up on the display where my focused application is.

Maybe if you have time, that would be a nice little thing to add.

Looks beautiful

But the README is empty, there are no issues or PRs, no website, no information...

And it does not say at all how to install, so how should I use?

Show the General Widget only when necessary

Hi @ospfranco , why not show the General Widget only when necessary?

For example like this:

{(store.ui.track?.title !== null || !!store.ui.currentlyTrackedProject || !!store.ui.currentTemp) && (
          <GeneralWidget
          style={tw`border-t w-full bg-white dark:bg-black bg-opacity-80 dark:bg-opacity-70 border-lightBorder dark:border-darkBorder`}
        />
)}

Same thing for the CalendarWidget too, if there are no events it would be correct not to show it.

{(store.ui.events.length > 0) && (
      <CalendarWidget
        style={tw`border-t w-full bg-white dark:bg-black bg-opacity-70 dark:bg-opacity-60 border-lightBorder dark:border-darkBorder`}
      />
)}

Strange problem with scaling

Hi @ospfranco , as you can see I am testing in all ways sol.

I tried to resize it as seen from the video and I get this result.

The problem is that I can't get back to its original shape or try to shrink everything after enlarging the app.

Registrazione.schermo.2022-03-20.alle.12.56.59.mov

Command + comma to open settings

Many Mac applications use the cmd + , shortcut to open application preferences. Would you be open to a PR that adds this shortcut to Sol?

No events

Hi @ospfranco , When there are no events, it would be better not to show anything instead of the image,

There would be more space for scrolling elements.

Schermata 2022-03-20 alle 21 04 50

File search

Hi Oscar,

Are you planning to implement a file search in Sol ?

Would be great to have one, with something similar to the Google Dorks to make it more convenient to look for specific files.

It may be an easy feature or it may not but overall I can't work on that myself at the moment.

Best Regards
Guillaume

Command+Shift+V keyboard binding conflicts with expected OS "Paste and Match Style" behaviour

This is a fairly common keyboard shortcut (Command+Shift+V) to paste without style. Sol hooking this hotkey is overriding the expected OS behaviour even without sol being open.

private let clipboardManagerHotKey = HotKey(key: .v, modifiers: [.command, .shift])

As there is currently no way to disable or customise keybindings in sol can this shortcut be changed to something that doesn't conflict with the OS defaults?
Command+Option+V may be a viable alternative - this to me reads intuitively as 'prompt me for options to paste'

Find applications in subfolders of applications folder or outside default applications folder

Currently

Applications in subfolders are not found e.g. /Applications/ScanSnap/ScanSnap_Manager.app.

This also applies to applications which reside outside the applications folder like /Users/Username/Applications/JDownloader 2.0/JDownloader2.app

Expected

Would be nice to also open those applications from Sol. Interestingly applications like Activity_Monitor.app located in the Utilities folder are found.

show keyboard shortcut for clipboard manager

Currently

When unaware of keyboard shortcut for clipboard manager, there is no way to learn about it, if a user forgot about it from the initial tutorial.
1

Expected

Why not show the keyboard shortcut (if not invoked from keyboard shortcut) and give users the chance to learn.

Track project problem

Hi @ospfranco , when i start a track project i get the following two problems:

  • As you can see from the video the input field when a text is entered, the placeholder text drops
  • After creating a test, there is a problem with keys which are not unique
Test.mov

Padding to bottom

Can't see the interface, launcher is padding to bottom leaving blank space.
Screen Shot 2022-08-11 at 10 55 51

Cannot proceed with onboarding (1.0.2)

Hi @ospfranco, I saw Sol in my ProductHunt newsletter and I can't wait to try it out and add all my command shortcuts to it.
I downloaded the latest release 1.0.2 (4h before this is posted), dragged it into my Applications folder, double clicked it and saw this.

image

Problem is, when I press enter (aka return), cmd+enter, ctrl+enter or anything else, there's no response. I can't get past this page. If I click outside or cmd+tab away, the above window disappears, and when I use cmd+space or double click Sol in /Applications again the above page shows up again (and I can't do anything about it, other than click away to make it disappear).

Here's my system specs:
image

Thank you for building something (at least seemingly for now) amazing!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.