open-index/open-npm huggingface dataset:
npm package: @malcherf/github-actions-reporter
Description: GitHub Actions reporter for Playwright
Author: Elio Struyf
Latest version: 1.0.3

# GitHub Actions Reporter for Playwright

This action reports test results from Playwright to GitHub summaries.

## Installation

Install from npm:

```bash
npm install @malcherf/github-actions-reporter
```

## Usage

You can configure the reporter by adding it to the `playwright.config.js` file:

```ts
import { defineConfig } from "@playwright/test";

export default defineConfig({
  reporter: [["list"], ["@malcherf/github-actions-reporter"]],
});
```

> More information on how to use reporters can be found in the [Playwright documentation](https://playwright.dev/docs/test-reporters).

## Configuration

The reporter supports the following configuration options:

| Option     | Description                                             | Default        |
| ---------- | ------------------------------------------------------- | -------------- |
| title      | Title of the report                                     | `Test results` |
| useDetails | Use details in summary which creates expandable content | `false`        |
| showError  | Show error message in summary                           | `false`        |

To use these option, you can update the reporter configuration:

```ts
import { defineConfig } from "@playwright/test";

export default defineConfig({
  reporter: [
    [
      "@malcherf/github-actions-reporter",
      {
        title: "My custom title",
        useDetails: true,
        showError: true,
      },
    ],
  ],
});
```

### Example without details

![Example without details](./assets/example-without-details.png)

### Example with details

![Example with details](./assets/example-with-details.png)

[![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2Festruyf%2Fplaywright-github-actions-reporter&countColor=%23263759)](https://visitorbadge.io/status?path=https%3A%2F%2Fgithub.com%2Festruyf%2Fplaywright-github-actions-reporter)
npm package: @malcodeman/react-modal
Description: The Modal component is used to show content on top of an overlay.
Author: malcodeman
Latest version: 1.0.6

# [react-modal](http://react-modal-storybook.surge.sh)

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/malcodeman/react-modal/blob/master/LICENSE)
[![npm](https://img.shields.io/npm/v/@malcodeman/react-modal)](https://www.npmjs.com/package/@malcodeman/react-modal)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

The Modal component is used to show content on top of an overlay. It blocks any interaction with the page — until the overlay is clicked, or a close action is triggered.

## Getting started

```sh
yarn add @malcodeman/react-modal
# or
npm install --save @malcodeman/react-modal
```

```jsx
import React from "react";
import { Modal } from "@malcodeman/react-modal";

function App() {
  const [isOpen, setIsOpen] = React.useState(false);

  function onClick() {
    setIsOpen(!isOpen);
  }

  function onClose() {
    setIsOpen(false);
  }

  return (
    <>
      <button onClick={onClick}>Trigger Modal</button>
      <Modal isOpen={isOpen} onClose={onClose}>
        <div>Modal</div>
      </Modal>
    </>
  );
}

export default App;
```

## License

[MIT](./LICENSE)
npm package: @malcodeman/react-popover
Description: The Popover component displays floating content in relation to a target
Author: malcodeman
Latest version: 1.1.11

# [react-popover](http://react-popover-storybook.surge.sh)

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/malcodeman/react-popover/blob/master/LICENSE)
[![npm](https://img.shields.io/npm/v/@malcodeman/react-popover)](https://www.npmjs.com/package/@malcodeman/react-popover)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

The Popover component displays floating content in relation to a target. Popovers appear either at the top, bottom, left or right of their target. The preferred and default side is the bottom. Popovers use smart positioning if there is not enough space.

## Getting started

```sh
yarn add @malcodeman/react-popover
# or
npm install --save @malcodeman/react-popover
```

```jsx
import React from "react";
import { StatefulPopover } from "@malcodeman/react-popover";

function App() {
  return (
    <StatefulPopover content={() => <div>PopoverContent</div>}>
      <button>Trigger Popover</button>
    </StatefulPopover>
  );
}

export default App;
```

## Stateless example

```jsx
import React from "react";
import { Popover } from "@malcodeman/react-popover";

function App() {
  const [isOpen, setIsOpen] = React.useState(false);

  return (
    <Popover isOpen={isOpen} content={() => <div>PopoverContent</div>}>
      <button onClick={() => setIsOpen(!isOpen)}>Trigger Popover</button>
    </Popover>
  );
}

export default App;
```

## License

[MIT](./LICENSE)
npm package: @malcolmmcswain/nodebb-plugin-search-elasticsearch
Description: Full-text searching using Elasticsearch
Author: joe1chen
Latest version: 0.3.2

# Elasticsearch Search for NodeBB

This plugin extends NodeBB to utilise an installation of Elasticsearch as a search backend.

## Configuration

1. Install this plugin via npm: `npm install nodebb-plugin-search-elasticsearch`
1. Activate it in the Plugins page
1. Restart NodeBB
1. Check that the plugin has successfully connected to the search engine. If not, adjust as necessary.

## Installation

    npm install nodebb-plugin-search-elasticsearch
    
##  Modification 
1. fixed the bug of latest version of elasticsearch api (^12.x.x) 
2. fixed searcingh result id error 

##TODO
1. fixation of the bug that searchTopic method does not called by filer:topic.search hook properly  
2. getTopicCount method cannot get the inner value of a nested json object