Skip to content

Comments

Feature/frontend improvements#22

Merged
MarcinZ20 merged 23 commits intodevelopmentfrom
feature/frontend-improvements
Apr 11, 2025
Merged

Feature/frontend improvements#22
MarcinZ20 merged 23 commits intodevelopmentfrom
feature/frontend-improvements

Conversation

@MarcinZ20
Copy link
Owner

Description

Backend and frontend work together

Closes: #21
Closes: #20
Closes: #19
Closes: #18
Closes: #17
Closes: #16

MarcinZ20 and others added 23 commits April 9, 2025 09:53
navbar component with styling without routing
footer component with styling
added a component that consists of header, search form with widget
image of the day with styling
news of the day widget with styling
recent searches multi-component with child components and styling
simple about page according to specs
simple contact page according to specs
all components integrated but without routing
padding was added to better fit the design
border radius is now matching navbars border radius
routing is now done using vue-router
rename page views to look the same
error handling defaults to one page
while loading with default time of 3s the loading page is being
displayed
router functionality is now in router/index.ts
new function was introduced to divide the flow of the request
result page now handles the search results display
remove unused node modules
@MarcinZ20 MarcinZ20 added the enhancement New feature or request label Apr 11, 2025
@MarcinZ20 MarcinZ20 requested a review from Copilot April 11, 2025 11:35
@MarcinZ20 MarcinZ20 self-assigned this Apr 11, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 26 out of 30 changed files in this pull request and generated 3 comments.

Files not reviewed (4)
  • frontend/package-lock.json: Language not supported
  • frontend/package.json: Language not supported
  • frontend/src/assets/base.css: Language not supported
  • frontend/src/assets/main.css: Language not supported


const recentSearches = [
{ query: 'Is this love?', url: 'https://example.com' },
{ query: 'Is Trum the president of US?', url: 'https://example.com' },
Copy link

Copilot AI Apr 11, 2025

Choose a reason for hiding this comment

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

Consider correcting the query text by replacing 'Trum' with 'Trump'.

Suggested change
{ query: 'Is Trum the president of US?', url: 'https://example.com' },
{ query: 'Is Trump the president of US?', url: 'https://example.com' },

Copilot uses AI. Check for mistakes.
const recentSearches = [
{ query: 'Is this love?', url: 'https://example.com' },
{ query: 'Is Trum the president of US?', url: 'https://example.com' },
{ query: 'Cracow is the capitol of Moldova', url: 'https://example.com' },
Copy link

Copilot AI Apr 11, 2025

Choose a reason for hiding this comment

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

[nitpick] Review the query text, as 'capitol' may be a misspelling of 'capital' if referring to a city.

Suggested change
{ query: 'Cracow is the capitol of Moldova', url: 'https://example.com' },
{ query: 'Cracow is the capital of Moldova', url: 'https://example.com' },

Copilot uses AI. Check for mistakes.
form$.submitting = false
}
const onSubmit = async () => {
console.log('This is searchFormComponent: \n' + { ...s })
Copy link

Copilot AI Apr 11, 2025

Choose a reason for hiding this comment

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

Consider replacing the object concatenation with JSON.stringify(s) to properly log the search parameters.

Suggested change
console.log('This is searchFormComponent: \n' + { ...s })
console.log('This is searchFormComponent: \n' + JSON.stringify(s))

Copilot uses AI. Check for mistakes.
@MarcinZ20 MarcinZ20 merged commit eaca999 into development Apr 11, 2025
2 checks passed
@MarcinZ20 MarcinZ20 deleted the feature/frontend-improvements branch April 11, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant