[PR #7098] [CLOSED] Refactor app.tsx and index.ts to use APP_DISPLAY_NAME constant #59007

Closed
opened 2026-04-29 13:53:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7098
Author: @clicktodev
Created: 10/4/2024
Status: Closed

Base: mainHead: small-refactor


📝 Commits (1)

  • 8deb849 Refactor app.tsx and index.ts in macapp/src to use APP_DISPLAY_NAME constant

📊 Changes

3 files changed (+9 additions, -5 deletions)

View changed files

📝 macapp/src/app.tsx (+2 -1)
📝 macapp/src/index.ts (+4 -4)
macapp/src/utils.ts (+3 -0)

📄 Description

This pull request refactors the app.tsx and index.ts files in the macapp/src directory to use the APP_DISPLAY_NAME constant. The APP_DISPLAY_NAME constant is defined in the newly added utils.ts file and is used to display the name of the application. This change ensures that the application name is consistently displayed as Ollama throughout the codebase.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/7098 **Author:** [@clicktodev](https://github.com/clicktodev) **Created:** 10/4/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `small-refactor` --- ### 📝 Commits (1) - [`8deb849`](https://github.com/ollama/ollama/commit/8deb849fa7fd1f661aaa706a05a32bc6569723e9) Refactor app.tsx and index.ts in macapp/src to use APP_DISPLAY_NAME constant ### 📊 Changes **3 files changed** (+9 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `macapp/src/app.tsx` (+2 -1) 📝 `macapp/src/index.ts` (+4 -4) ➕ `macapp/src/utils.ts` (+3 -0) </details> ### 📄 Description This pull request refactors the `app.tsx` and `index.ts` files in the `macapp/src` directory to use the `APP_DISPLAY_NAME` constant. The `APP_DISPLAY_NAME` constant is defined in the newly added `utils.ts` file and is used to display the name of the application. This change ensures that the application name is consistently displayed as `Ollama` throughout the codebase. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 13:53:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#59007