profile
viewpoint
Nicolás Gebauer negebauer @summitwealth Chile https://negebauer.com Software Engineering - Full stack

negebauer/IIC2173-Arqui 2

IIC2173 Arquitectura de Sistemas de Software - Proyecto

negebauer/businesscard 1

My npm card 🤗

negebauer/IIC2513-Web 1

Entregas de IIC2513 Tecnologías y aplicaciones web

negebauer/push-for-github 1

Push notifications for GitHub

negebauer/EjemploCoreData 0

Tutorial de Core Data en Swift 2

negebauer/eslint-config 0

My eslint config

negebauer/gps-marker 0

Mark routes and places using your phone gps

negebauer/huginn-javascript-agents 0

Javascript agents for huginn

negebauer/IIC2113-Diseno-Api 0

IIC2113 Diseño Detallado de Software - Api

startedrtyley/bfg-repo-cleaner

started time in 16 hours

issue commentcli/cli

gh repo view not scrolling in vscode integrated terminal

Running it as GLAMOUR_STYLE=dark gh repo view fixes it for me also.

negebauer

comment created time in 18 hours

startedprobot/probot

started time in 2 days

issue commentcli/cli

`gh repo view` not scrolling in vscode integrated terminal

Maybe it has something to do with the colors? Tried out other commands

gh repo view | less gh repo view | less --tabs=4 -RFX (my $PAGER is less --tabs=4 -RFX)

And those work correctly. Should I also open an issue in the vscode repo?

negebauer

comment created time in 3 days

issue commentcli/cli

`gh repo view` not scrolling in vscode integrated terminal

It only happens with gh repo view. Running less or $PAGER directly on a long file works correctly.

negebauer

comment created time in 6 days

push eventnegebauer/businesscard

Nicolas Gebauer

commit sha 0273f7929d7adec0a8db83ec0614595bad9ccdee

chore(release): 1.3.3

view details

push time in 6 days

created tagnegebauer/businesscard

tagv1.3.3

My npm card 🤗

created time in 6 days

push eventnegebauer/businesscard

Nicolas Gebauer

commit sha d48033f17c4b7389eb4124f3e837147ef89b9a37

refactor: update title

view details

push time in 6 days

issue openedcli/cli

`gh repo view` not scrolling in vscode integrated terminal

Describe the bug

A clear and concise description of what the bug is. Include version by typing gh --version.

gh version 1.0.0 (2020-09-16)
https://github.com/cli/cli/releases/tag/v1.0.0

When using the gh repo view command in iTerm2 and the mac Terminal app it shows it with navigation working using the arrow keys. Clicking down scrolls the README.d

image image

But if I do the same inside of the vscode integrated terminal the scrolling doesn't work

image

^[OB appears every time I click on the down arrow.

I tried running this with zsh without any config and the same happens. Didn't know if I should open the ticket here or in vscode. Opened here since other scrolling programs work in both (like raw less).

Steps to reproduce the behavior

  1. Open a small integrated terminal in viscose
  2. Run gh repo view
  3. Try to scroll

Expected vs actual behavior

I expect to scroll the README

Logs

gh repo view
# push down arrow

created time in 6 days

issue commentnegebauer/dockerfiles

Automatic deploy using circle ci

Replaced by #4

negebauer

comment created time in 7 days

issue commenttelegraf/telegraf

Add an example for Stage and Scene with a custom context

Dunno why this, which makes scene be of type BaseScene<BotContext>, works

const scene = new BaseScene<BotContext>('id')

But the example you provide doesn't.

I'm new to typescript, I don't what's the correct way to do this 😕

negebauer

comment created time in 8 days

issue commenttelegraf/telegraf

Add an example for Stage and Scene with a custom context

I can use enter and leave like this

import { Telegraf, Context, Stage, BaseScene } from 'telegraf'
import LocalSession from 'telegraf-session-local'
import { SceneContextMessageUpdate } from '../node_modules/telegraf/typings/stage.d'

const { enter, leave } = Stage

interface Session {
  foo: string
}

type BaseBotContext = Context & SceneContextMessageUpdate

interface BotContext extends BaseBotContext {
  session: Session
}

const bot = new Telegraf<BotContext>('foo')
const session = new LocalSession<BotContext>()
bot.use(session.middleware())

const scene = new BaseScene<BotContext>('scene')
scene.command('back', ctx => ctx.scene.leave())
scene.hears('leave', () => {
  leave()
})

const stage = new Stage<BotContext>([scene], { ttl: 10 })
bot.use(stage.middleware())

bot.hears('enter', () => {
  enter('scene')
})

bot.command('foo', ctx => ctx.scene.enter('scene'))

bot.launch()

This code should make BotContext satisfy SceneContextMessageUpdate

import { Context } from 'telegraf'
import { SceneContextMessageUpdate } from '../node_modules/telegraf/typings/stage.d'

type BaseBotContext = Context & SceneContextMessageUpdate

interface BotContext extends BaseBotContext {
  // your custom context specification
}
```ts
negebauer

comment created time in 8 days

startediamkun/dayjs

started time in 9 days

issue openedtelegraf/telegraf

Add an example for a Stage with a custom context

Is your feature request related to a problem? Please describe.

I'm new to typescript and I've been trying to write a bot that has uses session with a custom session object and stages. I haven't found any examples of Stages using a custom context type.

Describe the solution you'd like

A complete example with a bot with a custom type and stages using that custom type.

Additional context

This is the code I have

import { Telegraf, Context, Stage, BaseScene } from 'telegraf'
import LocalSession from 'telegraf-session-local'

interface Session {
  bar: string
}

interface BotContext extends Context {
  session: Session
}

const bot = new Telegraf<BotContext>('foo')
const session = new LocalSession<BotContext>()
bot.use(session.middleware())

const scene = new BaseScene('scene')
scene.command('back', ctx => ctx.scene.leave())

const stage = new Stage([scene], { ttl: 10 })
bot.use(stage.middleware())

bot.command('foo', ctx => ctx.scene.enter('scene'))

bot.launch()

bot.use(stage.middleware()) shows the following

Argument of type 'MiddlewareFn<SceneContextMessageUpdate>' is not assignable to parameter of type 'Middleware<BotContext>'.
  Type 'MiddlewareFn<SceneContextMessageUpdate>' is not assignable to type 'MiddlewareFn<BotContext>'.
    Property 'scene' is missing in type 'BotContext' but required in type 'SceneContextMessageUpdate'.

and bot.command('foo', ctx => ctx.scene.enter('scene')) shows

Property 'scene' does not exist on type 'BotContext'.

I though that using BaseScene<BotContext> and Stage<BotContext> would make it work, but I get the following instead

For BaseScene<BotContext>

Type 'BotContext' does not satisfy the constraint 'SceneContextMessageUpdate'.
  Property 'scene' is missing in type 'BotContext' but required in type 'SceneContextMessageUpdate'.

And for Stage<BotContext>

Type 'BotContext' does not satisfy the constraint 'SceneContextMessageUpdate'.

I did get to code that compiles by doing the following

import { Telegraf, Context, Stage, BaseScene } from 'telegraf'
import LocalSession from 'telegraf-session-local'
import { SceneContextMessageUpdate } from '../node_modules/telegraf/typings/stage.d'

interface Session {
  foo: string
}

type BaseBotContext = Context & SceneContextMessageUpdate

interface BotContext extends BaseBotContext {
  session: Session
}

const bot = new Telegraf<BotContext>('foo')
const session = new LocalSession<BotContext>()
bot.use(session.middleware())

const scene = new BaseScene<BotContext>('scene')
scene.command('back', ctx => ctx.scene.leave())

const stage = new Stage<BotContext>([scene], { ttl: 10 })
bot.use(stage.middleware())

bot.command('foo', ctx => ctx.scene.enter('scene'))

bot.launch()

Is the type BaseBotContext = Context & SceneContextMessageUpdate the way to do this?

created time in 10 days

issue closedRealSpeaker/telegraf-session-local

Property 'session' does not exist on type 'TelegrafContext'

Hi, I'm new to typescript and I'm working on a Telegraf bot using this library.

I have the following code

import { Telegraf } from 'telegraf'
import LocalSession from 'telegraf-session-local'
import config from './config'

const bot = new Telegraf(config.botToken)
const session = new LocalSession({ database: 'db.json' })

bot.use(session.middleware())

bot.on('text', (ctx, next) => {
  ctx.session.counter = ctx.session.counter || 0
  // eslint-disable-next-line no-plusplus
  ctx.session.counter++
  ctx.replyWithMarkdown(
    `Counter updated, new value: \`${ctx.session.counter}\``,
  )
  return next()
})

bot.launch().then(() => {
  // eslint-disable-next-line no-console
  console.log('Bot started successfully')
})

which shows a typescript error Property 'session' does not exist on type 'TelegrafContext'

How can I let typescript now that session is added by the library and give it the correct type?

closed time in 10 days

negebauer

issue commentRealSpeaker/telegraf-session-local

Property 'session' does not exist on type 'TelegrafContext'

Thanks a lot, that's exactly what I needed.

negebauer

comment created time in 10 days

issue openedRealSpeaker/telegraf-session-local

Property 'session' does not exist on type 'TelegrafContext'

Hi, I'm new to typescript and I'm working on a Telegraf bot using this library.

I have the following code

import { Telegraf } from 'telegraf'
import LocalSession from 'telegraf-session-local'
import config from './config'

const bot = new Telegraf(config.botToken)
const session = new LocalSession({ database: 'db.json' })

bot.use(session.middleware())

bot.on('text', (ctx, next) => {
  ctx.session.counter = ctx.session.counter || 0
  // eslint-disable-next-line no-plusplus
  ctx.session.counter++
  ctx.replyWithMarkdown(
    `Counter updated, new value: \`${ctx.session.counter}\``,
  )
  return next()
})

bot.launch().then(() => {
  // eslint-disable-next-line no-console
  console.log('Bot started successfully')
})

which shows a typescript error Property 'session' does not exist on type 'TelegrafContext'

How can I let typescript now that session is added by the library and give it the correct type?

created time in 10 days

startedtypescript-eslint/typescript-eslint

started time in 10 days

startedTypeStrong/ts-node

started time in 10 days

startedwhitecolor/ts-node-dev

started time in 11 days

issue openednegebauer/js-template

Change prettier-package-json for sort-package-json

https://github.com/keithamus/sort-package-json

created time in 11 days

issue openednegebauer/eslint-config

Change prettier-package-json for sort-package-json

https://github.com/keithamus/sort-package-json

created time in 11 days

startedinfluxdata/telegraf

started time in 11 days

pull request commentnegebauer/eslint-config

chore(deps): bump npm from 6.13.4 to 6.14.8

@dependabot squash and merge

dependabot[bot]

comment created time in 12 days

PullRequestReviewEvent

pull request commentnegebauer/eslint-config

chore(deps): bump npm from 6.13.4 to 6.14.8

@dependabot recreate

dependabot[bot]

comment created time in 12 days

pull request commentnegebauer/eslint-config

chore(deps): bump npm from 6.13.4 to 6.14.8

@dependabot squash and merge

dependabot[bot]

comment created time in 12 days

pull request commentnegebauer/eslint-config

chore(deps): bump npm from 6.13.4 to 6.14.8

@dependabot rebase

dependabot[bot]

comment created time in 12 days

push eventnegebauer/eslint-config

dependabot[bot]

commit sha 4a2b850e97a169afe59d619af64652df1a5dc2c9

chore(deps): bump npm-registry-fetch from 4.0.2 to 4.0.7 (#14) Bumps [npm-registry-fetch](https://github.com/npm/registry-fetch) from 4.0.2 to 4.0.7. - [Release notes](https://github.com/npm/registry-fetch/releases) - [Changelog](https://github.com/npm/npm-registry-fetch/blob/v4.0.7/CHANGELOG.md) - [Commits](https://github.com/npm/registry-fetch/compare/v4.0.2...v4.0.7) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

push time in 12 days

delete branch negebauer/eslint-config

delete branch : dependabot/npm_and_yarn/npm-registry-fetch-4.0.7

delete time in 12 days

PR merged negebauer/eslint-config

chore(deps): bump npm-registry-fetch from 4.0.2 to 4.0.7 dependencies

Bumps npm-registry-fetch from 4.0.2 to 4.0.7. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/npm/npm-registry-fetch/blob/v4.0.7/CHANGELOG.md">npm-registry-fetch's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/npm/registry-fetch/compare/v4.0.6...v4.0.7">4.0.7</a> (2020-08-17)</h2> <h3>Bug Fixes</h3> <ul> <li>correct password redaction (<a href="https://github.com/npm/registry-fetch/commit/110032b">110032b</a>)</li> </ul> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h2><a href="https://github.com/npm/registry-fetch/compare/v4.0.5...v4.0.6">4.0.6</a> (2020-08-14)</h2> <h3>Bug Fixes</h3> <ul> <li>import URL from url module (<a href="https://github.com/npm/registry-fetch/commit/cd35987">cd35987</a>)</li> </ul> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h2><a href="https://github.com/npm/registry-fetch/compare/v4.0.4...v4.0.5">4.0.5</a> (2020-06-30)</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h2><a href="https://github.com/npm/registry-fetch/compare/v4.0.3...v4.0.4">4.0.4</a> (2020-04-28)</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h2><a href="https://github.com/npm/registry-fetch/compare/v4.0.2...v4.0.3">4.0.3</a> (2020-02-13)</h2> <h3>Bug Fixes</h3> <ul> <li>always bypass cache when ?write=true (<a href="https://github.com/npm/registry-fetch/commit/ba8b4fe">ba8b4fe</a>)</li> <li>use 30s default for timeout as per README (<a href="https://github.com/npm/registry-fetch/commit/69c2977">69c2977</a>), closes <a href="https://github-redirect.dependabot.com/npm/registry-fetch/issues/20">#20</a></li> </ul> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/npm/npm-registry-fetch/commit/d8df0b193b34dad4627db52259322f0dbf9257d2"><code>d8df0b1</code></a> chore(release): 4.0.7</li> <li><a href="https://github.com/npm/npm-registry-fetch/commit/110032be6c17a16b70e844e76950c45c870f0028"><code>110032b</code></a> fix: correct password redaction</li> <li><a href="https://github.com/npm/npm-registry-fetch/commit/2275f55f59c90bbbd9b5399598ae630ddff0c478"><code>2275f55</code></a> chore(release): 4.0.6</li> <li><a href="https://github.com/npm/npm-registry-fetch/commit/cd3598735b0edb3f007c26ec878b9a6461239683"><code>cd35987</code></a> fix: import URL from url module</li> <li><a href="https://github.com/npm/npm-registry-fetch/commit/62ce833c8c01a1a307bcdf36d472b36b5b79bf81"><code>62ce833</code></a> chore(release): 4.0.5</li> <li><a href="https://github.com/npm/npm-registry-fetch/commit/43a5d842ead91368384387e6f003076a32a53523"><code>43a5d84</code></a> chore: remove basic auth data from logs</li> <li><a href="https://github.com/npm/npm-registry-fetch/commit/71ab0e79d5aed213b63b75b224ad0d5f44dd0d7e"><code>71ab0e7</code></a> chore(release): 4.0.4</li> <li><a href="https://github.com/npm/npm-registry-fetch/commit/fc5d94c39ca218d78df77249ab3a6bf1d9ed9db1"><code>fc5d94c</code></a> Put default timeout back to zero</li> <li><a href="https://github.com/npm/npm-registry-fetch/commit/2e0c446083638e7973a91a8c3fb81aeab98302f5"><code>2e0c446</code></a> chore(release): 4.0.3</li> <li><a href="https://github.com/npm/npm-registry-fetch/commit/d7d8c5873894fc415ba252319cc5af27dca174da"><code>d7d8c58</code></a> chore: publish as latest-v4</li> <li>Additional commits viewable in <a href="https://github.com/npm/registry-fetch/compare/v4.0.2...v4.0.7">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+567 -93

0 comment

3 changed files

dependabot[bot]

pr closed time in 12 days

push eventnegebauer/eslint-config

dependabot[bot]

commit sha 3d575846e7eeff26a1c2f5f8c21da34bf3c90886

chore(deps): bump node-fetch from 2.6.0 to 2.6.1 (#13) Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/bitinn/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md) - [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

push time in 12 days

delete branch negebauer/eslint-config

delete branch : dependabot/npm_and_yarn/node-fetch-2.6.1

delete time in 12 days

PR merged negebauer/eslint-config

chore(deps): bump node-fetch from 2.6.0 to 2.6.1 dependencies

Bumps node-fetch from 2.6.0 to 2.6.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/bitinn/node-fetch/releases">node-fetch's releases</a>.</em></p> <blockquote> <h2>v2.6.1</h2> <p><strong>This is an important security release. It is strongly recommended to update as soon as possible.</strong></p> <p>See <a href="https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md#v261">CHANGELOG</a> for details.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md">node-fetch's changelog</a>.</em></p> <blockquote> <h2>v2.6.1</h2> <p><strong>This is an important security release. It is strongly recommended to update as soon as possible.</strong></p> <ul> <li>Fix: honor the <code>size</code> option after following a redirect.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/node-fetch/node-fetch/commit/b5e2e41b2b50bf2997720d6125accaf0dd68c0ab"><code>b5e2e41</code></a> update version number</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/2358a6c2563d1730a0cdaccc197c611949f6a334"><code>2358a6c</code></a> Honor the <code>size</code> option after following a redirect and revert data uri support</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/8c197f8982a238b3c345c64b17bfa92e16b4f7c4"><code>8c197f8</code></a> docs: Fix typos and grammatical errors in README.md (<a href="https://github-redirect.dependabot.com/bitinn/node-fetch/issues/686">#686</a>)</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/1e99050f944ac435fce26a9549eadcc2419a968a"><code>1e99050</code></a> fix: Change error message thrown with redirect mode set to error (<a href="https://github-redirect.dependabot.com/bitinn/node-fetch/issues/653">#653</a>)</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/244e6f63d42025465796e3ca4ce813bf2c31fc5b"><code>244e6f6</code></a> docs: Show backers in README</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/6a5d192034a0f438551dffb6d2d8df2c00921d16"><code>6a5d192</code></a> fix: Properly parse meta tag when parameters are reversed (<a href="https://github-redirect.dependabot.com/bitinn/node-fetch/issues/682">#682</a>)</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/47a24a03eb49a49d81b768892aee10074ed54a91"><code>47a24a0</code></a> chore: Add opencollective badge</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/7b136627c537cb24430b0310638c9177a85acee1"><code>7b13662</code></a> chore: Add funding link</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/5535c2ed478d418969ecfd60c16453462de2a53f"><code>5535c2e</code></a> fix: Check for global.fetch before binding it (<a href="https://github-redirect.dependabot.com/bitinn/node-fetch/issues/674">#674</a>)</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/1d5778ad0d910dbd1584fb407a186f5a0bc1ea22"><code>1d5778a</code></a> docs: Add Discord badge</li> <li>Additional commits viewable in <a href="https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~akepinski">akepinski</a>, a new releaser for node-fetch since your current version.</p> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

0 comment

1 changed file

dependabot[bot]

pr closed time in 12 days

issue openedblacktop/lporg

Apple apps not respecting order, Other folder keeps appearing

I have the following Launchpad order

image

Which I save and then load again. After that it looks like this

image

The Photos, System Preferences and Xcode order is not respected and an Other folder is created (I think it's the default folder where apple apps are placed). I have to manually order the apps again and add and remove something from the Other folder for it to disappear.

Any ideas what might be happening?

macOS 10.15.6

initial launchpad.yml file

apps:
  pages:
  - number: 1
    items:
    - folder: .
      pages:
      - number: 1
        items:
        - Hearthstone
        - Hearthstone Beta Launcher
        - editor
    - folder: dock
      pages:
      - number: 1
        items:
        - Calendar
        - HEY
        - Notes
        - Reminders
        - Safari
        - Spark
    - folder: apple
      pages:
      - number: 1
        items:
        - Stocks
        - Mission Control
        - Siri
        - Home
        - Voice Memos
        - TV
        - Photo Booth
        - Calculator
        - Music
        - App Store
        - Podcasts
        - iMovie
        - Mail
        - Maps
        - Preview
        - Bluetooth Explorer
        - Contacts
        - FaceTime
        - Books
        - Numbers
        - Keynote
        - Pages
        - Find My
        - Dictionary
        - Messages
    - folder: apple 2
      pages:
      - number: 1
        items:
        - QuickTime Player
        - TextEdit
        - Grapher
        - Time Machine
        - Font Book
        - Chess
        - Stickies
        - Image Capture
        - VoiceOver Utility
        - AirPort Utility
        - Migration Assistant
        - Terminal
        - Activity Monitor
        - Console
        - Keychain Access
        - System Information
        - Automator
        - Script Editor
        - Disk Utility
        - Boot Camp Assistant
        - Digital Color Meter
        - ColorSync Utility
        - Screenshot
        - Bluetooth File Exchange
        - Audio MIDI Setup
        - XQuartz
    - folder: chat
      pages:
      - number: 1
        items:
        - BlueJeans
        - Discord
        - Skype
        - Slack
        - Telegram
        - Twitter
        - WhatsApp
        - zoom.us
    - Photos
    - Xcode
    - folder: others
      pages:
      - number: 1
        items:
        - Angry IP Scanner
        - DevCleaner
        - Geekbench 4
        - NordVPN IKE
        - Sketch
        - VirtualBox
        - VLC
        - Zeplin
    - folder: utils
      pages:
      - number: 1
        items:
        - Download Shuttle
        - Gifski
        - GrandPerspective
        - HandBrake
        - Image2Icon
        - ImageOptim
        - OnyX
        - KeyboardCleanTool
        - The Unarchiver
        - TimeMachineEditor
        - Transmission
    - folder: dev
      pages:
      - number: 1
        items:
        - Android Studio
        - Docker
        - Google Chrome
        - OpenVPN Connect
        - Postico
        - Postman
        - React Native Debugger
        - Robo 3T
        - Sequel Ace
    - folder: menu bar
      pages:
      - number: 1
        items:
        - Aware
        - Bartender 3
        - CCMenu
        - Dropbox
        - duet
        - Flux
        - Gitify
        - iStat Menus
        - KeepingYouAwake
        - Little Snitch Configuration
        - Micro Snitch
        - MonitorControl
        - Snappy
    - folder: games
      pages:
      - number: 1
        items:
        - Epic Games Launcher
        - Steam
        - barony
        - fate_Generic
        - FTL Faster Than Light
        - Minecraft
        - Pathway
        - The Jackbox Party Pack
    - Spotify
    - 1Password 7
    - MiniPlay
    - System Preferences
    - iTerm
    - Battle.net
    - HSTracker
    - AppCleaner
    - Suspicious Package
    - Visual Studio Code
    - KeyCastr
widgets:
  pages: []
dock_items:
- Launchpad
- Safari
- HEY
- Calendar
- Reminders
- iTerm
- Visual Studio Code
- WhatsApp
- Telegram
- Slack
- Spotify
- Twitter
- ============
- Downloads
- Summit
- Repositories
desktop: {}

after loading and saving it again (notice the Other folder is not present)

apps:
  pages:
  - number: 1
    items:
    - Photos
    - System Preferences
    - Xcode
    - folder: .
      pages:
      - number: 1
        items:
        - Hearthstone
        - Hearthstone Beta Launcher
        - editor
    - folder: dock
      pages:
      - number: 1
        items:
        - Calendar
        - HEY
        - Notes
        - Reminders
        - Safari
        - Spark
    - folder: apple
      pages:
      - number: 1
        items:
        - Stocks
        - Mission Control
        - Siri
        - Home
        - Voice Memos
        - TV
        - Photo Booth
        - Calculator
        - Music
        - App Store
        - Podcasts
        - iMovie
        - Mail
        - Maps
        - Preview
        - Bluetooth Explorer
        - Contacts
        - FaceTime
        - Books
        - Numbers
        - Keynote
        - Pages
        - Find My
        - Dictionary
        - Messages
    - folder: apple 2
      pages:
      - number: 1
        items:
        - QuickTime Player
        - TextEdit
        - Grapher
        - Time Machine
        - Font Book
        - Chess
        - Stickies
        - Image Capture
        - VoiceOver Utility
        - AirPort Utility
        - Migration Assistant
        - Terminal
        - Activity Monitor
        - Console
        - Keychain Access
        - System Information
        - Automator
        - Script Editor
        - Disk Utility
        - Boot Camp Assistant
        - Digital Color Meter
        - ColorSync Utility
        - Screenshot
        - Bluetooth File Exchange
        - Audio MIDI Setup
        - XQuartz
    - folder: chat
      pages:
      - number: 1
        items:
        - BlueJeans
        - Discord
        - Skype
        - Slack
        - Telegram
        - Twitter
        - WhatsApp
        - zoom.us
    - folder: others
      pages:
      - number: 1
        items:
        - Angry IP Scanner
        - DevCleaner
        - Geekbench 4
        - NordVPN IKE
        - Sketch
        - VirtualBox
        - VLC
        - Zeplin
    - folder: utils
      pages:
      - number: 1
        items:
        - Download Shuttle
        - Gifski
        - GrandPerspective
        - HandBrake
        - Image2Icon
        - ImageOptim
        - OnyX
        - KeyboardCleanTool
        - The Unarchiver
        - TimeMachineEditor
        - Transmission
    - folder: dev
      pages:
      - number: 1
        items:
        - Android Studio
        - Docker
        - Google Chrome
        - OpenVPN Connect
        - Postico
        - Postman
        - React Native Debugger
        - Robo 3T
        - Sequel Ace
    - folder: menu bar
      pages:
      - number: 1
        items:
        - Aware
        - Bartender 3
        - CCMenu
        - Dropbox
        - duet
        - Flux
        - Gitify
        - iStat Menus
        - KeepingYouAwake
        - Little Snitch Configuration
        - Micro Snitch
        - MonitorControl
        - Snappy
    - folder: games
      pages:
      - number: 1
        items:
        - Epic Games Launcher
        - Steam
        - barony
        - fate_Generic
        - FTL Faster Than Light
        - Minecraft
        - Pathway
        - The Jackbox Party Pack
    - Spotify
    - 1Password 7
    - MiniPlay
    - iTerm
    - Battle.net
    - HSTracker
    - AppCleaner
    - Suspicious Package
    - Visual Studio Code
    - KeyCastr
widgets:
  pages: []
dock_items:
- Launchpad
- Safari
- HEY
- Calendar
- Reminders
- iTerm
- Visual Studio Code
- WhatsApp
- Telegram
- Slack
- Spotify
- Twitter
- ============
- Downloads
- Summit
- Repositories
desktop: {}

created time in 16 days

startedblacktop/lporg

started time in 16 days

startedjesseduffield/horcrux

started time in a month

PR opened ivmarcos/react-to-pdf

fix merge conflict and linter errors
+7 -10

0 comment

1 changed file

pr created time in a month

push eventnegebauer/react-to-pdf

Nicolas Gebauer

commit sha 05abdfc020949205048954b21d8b4f5ed2031aaa

fix merge conflict

view details

Nicolas Gebauer

commit sha 6257647b8c5499e7ecac2d5aab4a67159b9a8838

fix linter warnings

view details

push time in a month

fork negebauer/react-to-pdf

Generate pdf from react components

fork in a month

startedvercel/swr

started time in a month

issue commentsdras/awesome-actions

Fix awesome lint

Yes it is, nice image

negebauer

comment created time in a month

startedarwes/arwes

started time in a month

startederikdoe/ccmenu

started time in a month

issue commentdocker/build-push-action

Not worked with ECR actions

Thanks @Surgo, I'm using your workaround for now. I agree with @caligin it does seem to be a problem of not using the available login. Running the aws-actions/amazon-ecr-login should make the docker login available to this action as you can see from the usage of it https://github.com/aws-actions/amazon-ecr-login#usage, it doesn't use docker login in the next step.

Surgo

comment created time in a month

issue commentmattallty/jest-github-action

support configure Checks name

Having no check-names option means that the checks generated by this action get overwritten. If you have two steps that run the action (no matter if in the same job/workflow) the latter will overwrite the first.

Adding a check-name prevents this.

missedone

comment created time in a month

issue openedsdras/awesome-actions

Fix awesome lint

A lot of prs are falling due to https://github.com/actions being duplicated in the README

https://github.com/sdras/awesome-actions/blob/fa3e308e507da613d3bec2ed3380d632852d965e/README.md#L9

https://github.com/sdras/awesome-actions/blob/fa3e308e507da613d3bec2ed3380d632852d965e/README.md#L42

created time in a month

issue commentactions/checkout

Ability to fallback to a different branch on failure

Maybe the documentation can be improved? I didn't understand what you mentioned from reading it, but reading your message it's super clear.

You can use the following status check functions as expressions in if conditionals. If your if expression does not contain any of the status functions it will automatically result with success(). For more information about if conditionals, see "Workflow syntax for GitHub Actions."

Maybe replace

If your if expression does not contain any of the status functions it will automatically result with success()

With your message here

Any if block that does not contain a status function automatically has success() added with an &&.

znarf

comment created time in a month

issue commentMorrisonCole/pr-lint-action

TypeError with v1.2.1

Working ! Thanks

negebauer

comment created time in a month

issue commentMorrisonCole/pr-lint-action

TypeError with v1.2.1

It happens haha, waiting on v1.2.2

negebauer

comment created time in a month

pull request commentmattallty/jest-github-action

fix: working_directory removed from annotation

This doesn't fix it, closing for now, may look into it again

negebauer

comment created time in a month

created tagnegebauer/jest-github-action

tagv1.0.4

Jest action adding checks with annotations to your pull requests and coverage table as comments

created time in a month

issue openedMorrisonCole/pr-lint-action

TypeError with v1.2.1

Got the following error when running the action

##[error]TypeError: github_1.GitHub is not a constructor

created time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha 0a07d3cfe2737e07d3bd7cf0459a095db4d9caf4

feat: status check name

view details

push time in a month

Pull request review commentmattallty/jest-github-action

Update action to allow more felxibilty

 const COVERAGE_HEADER = ":loop: **Code coverage**\n\n" export async function run() {   let workingDirectory = core.getInput("working-directory", { required: false })   let cwd = workingDirectory ? resolve(workingDirectory) : process.cwd()-  const CWD = cwd + sep-  const RESULTS_FILE = join(CWD, "jest.results.json")+  let resultFileName = core.getInput("results-file", { required: false })+  if (resultFileName === "") {+    resultFileName = "jest.results.json";+  }

This can be one line

  const resultFileName = core.getInput("results-file", { required: false }) || "jest.results.json"
wildone

comment created time in a month

PR opened mattallty/jest-github-action

feat: status check name

Fixes #12

+5 -2

0 comment

3 changed files

pr created time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha 55177f21e32f0fce0ae1aa3766ffb4e68692e042

feat: status check name

view details

push time in a month

create barnchnegebauer/jest-github-action

branch : f/status-check-name

created branch time in a month

delete branch negebauer/jest-github-action

delete branch : f/check-name

delete time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha 3ed9e6fa537e46464463dee870a6b43db8f2bdb5

feat: status check name

view details

push time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha cddc9a5b7056f436726d399e757db7c46a04ebe3

feat: status check name

view details

push time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha 07f6427bd0cc6522f85ea88d7ec5dae26a98e738

fix

view details

push time in a month

pull request commentMorrisonCole/pr-lint-action

chore: add missing repo-token input definition

Thanks for the quick review 😄

negebauer

comment created time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha 8b28ad79478fede08dd91a4c2313f025a9129f72

wip

view details

push time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha 7b5a87bbb3a2e3e7d03a1de972f3b99d14aea66f

wip

view details

push time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha e9d66504a932f290832118489bc0a1c2adc4a9ae

wip

view details

push time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha 5729c6c91ee5470176a66e9a09544bc9c2d3f7ec

test packed

view details

push time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha b9d6e817cb5e9f5c9b9cc10e5b1eee9464d9b44f

a

view details

Nicolas Gebauer

commit sha b503726eae148868d6d315ccd5ce2c7e84478161

trigger run

view details

push time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha ce716449f990b766b05ee354a3b01a4944fd89f0

log

view details

push time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha 5d50972ab5dc75741b4eb2e251089f89cb20efa1

testss

view details

push time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha 4af3398ee6cd959eaf3bdb751cbc3e77376c3076

tests

view details

push time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha 1987e0d83beabd693b4f78852d3481fcf7cd7a7e

check-name

view details

push time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha 8307cf38e30895046c2c30e1c6d66b3ea8ecd1fd

log

view details

push time in a month

create barnchnegebauer/jest-github-action

branch : f/check-name

created branch time in a month

push eventnegebauer/jest-github-action

Nicolas Gebauer

commit sha eeef353021345737a951fef9b3757cca70386e7a

fix: working_directory removed from annotation

view details

push time in a month

delete branch negebauer/jest-github-action

delete branch : dependabot/npm_and_yarn/actions/http-client-1.0.8

delete time in a month

delete branch negebauer/jest-github-action

delete branch : demo-coverage

delete time in a month

delete branch negebauer/jest-github-action

delete branch : demo-failed-tests

delete time in a month

delete branch negebauer/jest-github-action

delete branch : failing-pr

delete time in a month

delete branch negebauer/jest-github-action

delete branch : test-pr

delete time in a month

delete branch negebauer/jest-github-action

delete branch : dependabot/npm_and_yarn/acorn-5.7.4

delete time in a month

delete branch negebauer/jest-github-action

delete branch : dependabot/npm_and_yarn/lodash-4.17.19

delete time in a month

push eventnegebauer/jest-github-action

push time in a month

issue commentmattallty/jest-github-action

Jest results/annotations job is added to the wrong workflow

It's also generating another error, annotations are being overwritten. If you have two workflows that generate annotations with this only one is shown in the PR

wopian

comment created time in a month

push eventnegebauer/pr-lint-action

Nicolas Gebauer

commit sha 6137aef05d6c686d26be7facda2931eb6e1db321

chore: add missing repo-token input definition

view details

push time in a month

fork negebauer/pr-lint-action

A TypeScript GitHub Action to ensure that your PR title matches a given regex.

https://morrisoncole.co.uk

fork in a month

PR opened sdras/awesome-actions

Add Pull Request Lint With Regex

Add Pull Request Lint With Regex action

Closes https://github.com/MorrisonCole/pr-lint-action/issues/29

+1 -0

0 comment

1 changed file

pr created time in a month

push eventnegebauer/awesome-actions

Nicolas Gebauer

commit sha 3dc68accef7f63864ff5b4e719802aa4192cd029

Add Pull Request Lint With Regex

view details

push time in a month

fork negebauer/awesome-actions

A curated list of awesome actions to use on GitHub

fork in a month

more