profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/FezVrasta/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Federico Zivolo FezVrasta Application Tech Lead @SironaMedical Budapest, Hungary (previously in Italy) https://fezvrasta.github.io UX Engineer/Front-End Engineer. Creator of bootstrap-material-design and Popper.js. Open Source addicted.

emotion-js/emotion 13667

👩‍🎤 CSS-in-JS library designed for high performance style composition

arackaf/customize-cra 2368

Override webpack configurations for create-react-app 2.0

arkmanager/ark-server-tools 547

Set of server tools used to manage ARK: Survival Evolved servers on Linux

FezVrasta/bootstrap-material-design 14

Redirect repository

FezVrasta/ama 9

Ask Me Anything

atomiks/popper.js 7

Popper fork w/ custom modifiers infra

FezVrasta/bootstrap-material-datepicker 5

Datepicker for bootstrap-material

FezVrasta/angular-barcode-generator 2

Angular directive for Code128 Barcode

FezVrasta/bootstrap 2

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.

FezVrasta/amazon-transcribe-websocket-static 1

A static site demonstrating real-time audio transcription via Amazon Transcribe over a WebSocket.

issue commentmicrosoft/azuredatastudio

Close all tabs without saving

The correct solution is described in this other issue:

https://github.com/Microsoft/vscode/issues/54647#issuecomment-413760045

brunossn

comment created time in 18 hours

startedkentaro-m/task-completed-checker-action

started time in 2 days

issue commentyarnpkg/berry

[Bug?]: Binaries from transitive dependencies are not available through `yarn bin`

Was there any communication with projects such as Create React App or Storybook?

FezVrasta

comment created time in 4 days

issue openedyarnpkg/berry

[Bug?]: Binaries from transitive dependencies are not available through `yarn bin`

Self-service

  • [ ] I'd be willing to implement a fix

Describe the bug

If I install a package that as transitive dependency includes a package that exposes a binary, I can't use such binary through Yarn.

The binaries are visible in node_modules/.bin.

To reproduce

await packageJsonAndInstall({
  devDependencies: {
    [`react-scripts`]: `4.0.3`,
  }
});

await expect(yarn(`eslint`)).rejects.not.toThrow(`Couldn't find a script named eslint`);

Environment

System:
    OS: macOS 11.4
    CPU: (4) x64 Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
  Binaries:
    Node: 14.17.4 - /private/var/folders/dm/r2yzz3ws2zxbpbmrg58q5mr00000gn/T/xfs-381e25b4/node
    Yarn: 3.0.2 - /private/var/folders/dm/r2yzz3ws2zxbpbmrg58q5mr00000gn/T/xfs-381e25b4/yarn
    npm: 7.21.0 - /usr/local/bin/npm

Additional context

No response

created time in 4 days

startedccpu/storybook-addon-playwright

started time in 8 days

issue commentfacebook/create-react-app

Webpack 5 support overview

Can the community help somehow? It seems like most of the PRs listed in the milestone are ready to be merged.

raix

comment created time in 8 days

issue commentstyled-components/babel-plugin-styled-components

Esbuild support for CSS property?

I think a possible alternative could be to provide a custom jsx pragma like Emotion does.

FezVrasta

comment created time in 8 days

issue closedpopperjs/popper-core

Include dist/lib with repository

Feature description

Include lib/dist files within repository for flexible import. Those can be placed in lib and dist in the repository so the user can use whatever he wants to manage the dependency instead of being forced to use Node.js/NPM.

Why should this feature be part of the Popper's core?

Forcing the use of Node/NPM for importing is limiting and not lean.

closed time in 9 days

danisztls

issue commentpopperjs/popper-core

Include dist/lib with repository

There's no plan to do that, git is meant to store source code, not artifacts

danisztls

comment created time in 9 days

issue commentfacebook/flow

`String.prototype.concat()` should accept `Array<mixed>`, not only `Array<string>`

There are a lot of instances where Flow requires an actual string rather than letting JS implicitly cast it. I think it's a design decision.

You can always do .concat(String(mixedThing)) to produce the same result.

justingrant

comment created time in 10 days

issue commentfacebook/create-react-app

Allow manual mocks with same name

That'd be great, I'm hitting the same issue and there doesn't seem to be a way around it.

thierryxpertsea

comment created time in 11 days

issue commentpopperjs/popper-core

Popup position not correct when offsetWidth/offsetHeight == 0

The provided repro works with the latest Popper version, please open a new ticket if you still experience issues.

https://codesandbox.io/s/sad-wind-jbmqs

jon48

comment created time in 11 days

starteditsMapleLeaf/vite-plugin-babel-macros

started time in 11 days

startedbunchtogether/vite-plugin-flow

started time in 11 days

issue commentKitware/react-vtk-js

Text rendering?

@jourdain I realized my code above has a performance issue, the onRenderEvent is called for each actor in the view, so the component gets needlessly rerendered a lot when there are a lot of actors.

Could you suggest a more performant way to update the coordinates when the view changes?

FezVrasta

comment created time in 16 days

startedstreamich/react-use

started time in 17 days

issue commentFiloSottile/age

Did you mean "aghi"?

My voice tone is quite irritating but feel free to use this recording if you want an italian pronunciation of the name.

https://vocaroo.com/1cX3WbMGAps0

FezVrasta

comment created time in 17 days

issue commentFiloSottile/age

Did you mean "aghi"?

Thanks, that makes sense, maybe remove the Google Translate link then?

I'm not sure a lot of people will understand the pronunciation with the current approach, but that's definitely up to you.

FezVrasta

comment created time in 17 days

issue openedFiloSottile/age

Did you mean "aghi"?

I'm trying to understand the meaning of the library name, sorry if I'm missing something.

The link on the README points to Google Translate that incorrectly translates "aghe" as "needles", while actually the translation of "needles" to italian is "aghi".

Could you clarify please?

created time in 17 days

startedaminerol/react-query-firestore

started time in 19 days

issue commentstorybookjs/design-system

Upgrade Popper and react-popper-tooltip

@FezVrasta We are still on 1.x and if I recall, you can hook into the update cycle via the modifiers, but when I last looked into this, I couldn't figure out how to just get something to run only when placed (or how to tell in the callback that runs on each update that something had been placed). You think that would be available to us? Any ideas/links on how to execute?

I was referring to the v2 API, I don't think anything like that is available on v1, I'm sorry

coderkevin

comment created time in 19 days

issue commentstorybookjs/design-system

Upgrade Popper and react-popper-tooltip

Sure. The linked ticket is for a PR where we added a workaround to find out when the tooltip is "ready" (aka mounted & placed on the screen). The library mounts the tooltip first & then after that, determines where to put the tooltip, so you need to wait for that event to scroll it into view because otherwise, the placement will change immediately and break the scroll process.

We made a custom workaround for this for an older version of the lib, but I believe the newer version offers a callback to handle it: onFirstUpdate:

https://popper.js.org/docs/v2/lifecycle/#hook-into-the-lifecycle

You can also have custom modifiers with logic that runs on "mount" and "unmount" with the effect property

coderkevin

comment created time in 20 days

pull request commentpopperjs/popper-core

Add an exports map

This is a breaking change...

I reverted this on 2.10.1

benmccann

comment created time in 21 days

pull request commentpopperjs/popper-core

Add an exports map

I wonder what's the correct approach to go about this. Should the package.json map every single file manually?

benmccann

comment created time in 21 days

issue closedpopperjs/popper-core

setOptions() overrides previous modifiers

CodeSandbox demo code

import { createPopper } from "@popperjs/core";

const button = document.querySelector("#button");
const tooltip = document.querySelector("#tooltip");

// Create a popper instance with some offset
let popper = createPopper(button, tooltip, {
  placement: "right",
  modifiers: [{ name: "offset", options: { offset: [0, 20] } }]
});

// Uncommenting the following will remove the offset
// popper.setOptions({
//   modifiers: [{ name: "eventListeners", enabled: true }]
// });

Steps to reproduce the problem

  1. Do createPopper() with an offset modifier
  2. Call setOptions() to enable/disable listeners
  3. The offset is now gone

What is the expected behavior?

I would expect existing modifiers to be unaffeted

What went wrong?

The offset is now gone

Any other comments?

My expectations come from the tutorial, where the behavior I expect is described. However pasting the tutorial's full code into codepen, shows no offset.

This could be a documentation issue, since the actual tutorial code is different than the one displayed. But since I can't find any clear documentation for setOptions(), I will assume it is a bug.

closed time in 21 days

gtsiam

issue commentpopperjs/popper-core

setOptions() overrides previous modifiers

I added an option to pass a function to setOptions that will work very similarly to how React's state setters work.

https://popper.js.org/docs/v2/constructors/#setoptions

gtsiam

comment created time in 21 days

pull request commentpopperjs/popper-core

fix: `detectOverflow` should use state rect

Tests are still failing ☹️

AlexStrNik

comment created time in 21 days

issue closedpopperjs/popper-core

Recent change to package.json/exports causes an issue in @restart/ui which breaks other downstream projects

the change (https://github.com/popperjs/popper-core/pull/1342) seems to break this usage in some way.

What is the expected behavior?

The enums should have been found by webpacks with alternate imports.

When using imports like this https://github.com/react-restart/ui/blob/main/src/popper.ts#L9 should work

What went wrong?

ModuleNotFoundError: Module not found: Error: Package path ./lib/enums is not exported from package
.../Library/Caches/Bit/capsules/2b25412ad92805e9573583d4b25e6a7e05d89fd5/node_modules/@restart/ui/node_modules/
@popperjs/core (see exports field in .../Library/Caches/Bit/capsules/2b25412ad92805e9573583d4b25e6a7e05d89fd5/node_modules/@restart/ui/node_modules/
@popperjs/core/package.json)

Any other comments?

<!-- Any additional information. -->

closed time in 21 days

ajohnson-ventera

issue commentpopperjs/popper-core

Recent change to package.json/exports causes an issue in @restart/ui which breaks other downstream projects

I released a new version that reverts this, sorry for the trouble

ajohnson-ventera

comment created time in 21 days

push eventpopperjs/popper-core

Federico Zivolo

commit sha 094c3115843cdfc207f70437318695a689488a2b

Revert "Add an exports map (#1342)" (#1362)

view details

push time in 21 days