Skip to content

Add akiflow extension #19987

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

andyjsiegel
Copy link

@andyjsiegel andyjsiegel commented Jun 23, 2025

Description

Screencast

Checklist

- publish
- initial commit
@raycastbot
Copy link
Collaborator

Congratulations on your new Raycast extension! 🚀

You can expect an initial review within five business days.

Once the PR is approved and merged, the extension will be available on our Store.

@raycastbot raycastbot added the new extension Label for PRs with new extensions label Jun 23, 2025
Copy link
Contributor

@haydencbarnes haydencbarnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of the AI commands worked besides get time

) : (
<ActionPanel title="Folder Actions">
<Action
title="Open Akiflow"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should use the same openInAkiflow quick-jump as projects/tags. Something like:

                    <Action
                      title={`Open ${project.title} in Akiflow`}
                      onAction={() => {
                        openInAkiflow(project.title);
                      }}
                    />
                    <Action.OpenInBrowser
                      title={`Open ${project.title} in Akiflow Web`}
                      url={`https://web.akiflow.com/#/planner/list/${project.key}`}
                    />
                  </ActionPanel>```

const tags = response.data;
for (const tag of tags) {
if (tag.deleted_at === null) {
const cleanedTag = tag.title.replace(/[^\w\s]/g, '').trim();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change this? You are removing all word characters, and the result often no longer matches what Akiflow expects (“Process | PTx” became “Process PTx”). It would be better to just leave all visible chars exactly as they are. Something like .replace(/[\u200B-\u200D\uFEFF]/g, '') // remove zero-width chars only

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what this is supposed to look like, it comes in as greyed out and unselectable for me
CleanShot 2025-06-23 at 17 10 36@2x

icon={{ source: Icon.Flag, tintColor: { light: "#31BF75", dark: "#31BF75" } }}
/>
</Form.Dropdown>
{Object.entries(tags).length > 0 ? (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be rewritten for project folders and tags and tag ids as well. Something like:

      {Object.entries(tags).length > 0 && (
        <Form.TagPicker id="tags_ids" title="Select Tags">
          {Object.entries(tags).map(([id, title]) => (
            <Form.TagPicker.Item key={id} value={id} title={title} icon={Icon.Tag} />
          ))}
        </Form.TagPicker>
      )}
      {Object.entries(projects).length > 0 && (
        <Form.Dropdown id="listId" title="Select Project">
          <Form.Dropdown.Item key="noproject" value="" title="No Project" />
          {Object.entries(projects)
            .sort(([, a], [, b]) => {
              // sort parents first then alphabetically
              if (a.parentId === null && b.parentId !== null) return -1;
              if (a.parentId !== null && b.parentId === null) return 1;
              return a.title.localeCompare(b.title);
            })
            .map(([id, { title, icon, parentId }]) => (
              <Form.Dropdown.Item
                key={id}
                value={id}
                title={parentId ? `  ${title}` : title}
                icon={icon ?? Icon.Folder}
              />
            ))}
            
            ```

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feature is completely broken for me, shows me two really old someday tasks and that is it.

<Form
actions={
<ActionPanel>
<Action.SubmitForm onSubmit={handleSubmit} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want this to be "Add task" instead of submit form

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Broke for me when the AI tried to run it, looks like it is not requesting properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new extension Label for PRs with new extensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants